code_junkie

Problem refreshing tables in the LINQ to SQL designer

Nov 12th, 2011
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. [Table("dbo.my_table")]
  2. public class MyTable
  3. {
  4. [Column("id", AutoSync = AutoSync.OnInsert, IsDbGenerated = true, IsPrimaryKey = true)]
  5. public Int32 Id { get; set; }
  6.  
  7. [Column("name", DbType="NVarChar(50) NOT NULL")]
  8. public String Name { get; set; }
  9. }
Add Comment
Please, Sign In to add comment