SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 326 | Next

Scott Klein

"Professional LINQ"


Never??”Never returns the value for an INSERT or
UPDATE operation. OnUpdate: Only returns the column
value for UPDATE operations. OnInsert: Only returns
the column value for INSERT operations.
Never
Expression Defines a computed database column.
IsVersion Specifies that the associated column is either a
timestamp or version number column.
false
UpdateCheck Indicates how LINQ to SQL should handle optimistic
concurrency conflicts. Uses one of the following
values: Always, Never, WhenChanged.
IsDiscriminator Specifies that the column contains the discriminator
value for a LINQ to SQL inheritance hierarchy.
Here??™s an example that shows how to use the Column attribute to map properties to specific
database columns:
[Column(DBType = "int", IsPrimaryKey=true, CanBeNull=false)]
public int EmployeeID;
[Column(DBType = "nvarchar(256)", CanBeNull=false)]
public string LoginID;
[Column(DBType = "nvarchar(15)", CanBeNull=false)]
public string NationalIDNUmber;
[Column(DBType = "int",CanBeNull=false)]
public int ManagerID;
204
Chapter 10: LINQ to SQL Overview
Those fields that are not tagged as columns are considered temporary information, meaning, they are
assumed to be nonpersistent and are not submitted back to the database.


Pages:
314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6