แก้ไข

แชร์ผ่าน


How to: Specify Private Storage Fields

Use the LINQ to SQL Storage property on the DataAttribute attribute to designate the name of an underlying storage field.

For code examples, see Storage.

To specify the name of an underlying storage field

  1. Add the Storage property to the ColumnAttribute attribute.

  2. Assign the name of the field as the value of the Storage property.

See also