Method | Description | |
---|---|---|
AutoSync ( AutoSync autoSync ) : IColumnMapping |
Specifies the AytoSync value for this property. AutoSync instructs the runtime how to retrieve the value after an insert or update operation.
|
|
ColumnMapping ( |
Creates a new instance of the ColumnMapping class.
|
|
DbGenerated ( ) : IColumnMapping |
Marks the column as generated by the database.
|
|
DbType ( string dbType ) : IColumnMapping |
Specifies the type of the column in the database.
|
|
Expression ( string expression ) : IColumnMapping |
Specifies the expression that should be used to calculate the column.
|
|
Named ( string name ) : IColumnMapping |
Specifies the name of the column to which the property should be mapped.
|
|
NotNull ( ) : IColumnMapping |
Specifies that the column is not nullable.
|
|
PrimaryKey ( ) : IColumnMapping |
Marks the column as part of the table's Primary Key.
|
|
SetAttribute ( string name, string value ) : IColumnMapping |
Sets an attribute that will be generated in the XML.
|
|
Storage ( string fieldName ) : IColumnMapping |
Specifies that Linq to Sql should bypass the public property and use the specified field directly.
|
|
ToXml ( ) : IEnumerable |
Convers the column mapping to an Column element.
|
|
UpdateCheck ( UpdateCheck updateCheck ) : IColumnMapping |
Specifies how Linq to Sql approaches the detection of optimistic concurrency conflicts. The default is 'Always' unless the entity has a version field is defined. |
|
Version ( ) : IColumnMapping |
Marks the column as a database timestamp or version number.
|
public AutoSync ( AutoSync autoSync ) : IColumnMapping | ||
autoSync | AutoSync | The autosync value |
return | IColumnMapping |
public ColumnMapping ( |
||
property | The property that should be mapped | |
return | System.Collections.Generic |
public DbType ( string dbType ) : IColumnMapping | ||
dbType | string | Data type for the column |
return | IColumnMapping |
public Expression ( string expression ) : IColumnMapping | ||
expression | string | The expression that should be used to calculate the column |
return | IColumnMapping |
public Named ( string name ) : IColumnMapping | ||
name | string | The name |
return | IColumnMapping |
public SetAttribute ( string name, string value ) : IColumnMapping | ||
name | string | Name of attribute |
value | string | value |
return | IColumnMapping |
public Storage ( string fieldName ) : IColumnMapping | ||
fieldName | string | Name of field that the column should be mapped to |
return | IColumnMapping |
public UpdateCheck ( UpdateCheck updateCheck ) : IColumnMapping | ||
updateCheck | UpdateCheck | The UpdateCheck value to use |
return | IColumnMapping |