iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

Generate.By Property

The by attribute is used to generate the where clause.

[Visual Basic]
<XmlAttribute(Type:=null, AttributeName:="by", Namespace:="null", Form:=XmlSchemaForm.None, TypeId:=System.Xml.Serialization.XmlAttributeAttribute)>
Public Property By As 
[C#]
[XmlAttribute(Type=null, AttributeName="by", Namespace="null", Form=XmlSchemaForm.None, TypeId=System.Xml.Serialization.XmlAttributeAttribute)]
public String By {get; set;}

Remarks

The by="" attribute can support multiple colums.

Example

< delete ...> <generate table="EMPLOYEE" by="EMPLOYEE_ID, LAST_MOD_DATE" /> </delete>

See Also

Generate Class | IBatisNet.DataMapper.Configuration.Statements Namespace