public IQueryable <string> GetTable1()
 {
     return(TestTable1s.Select(testTable => testTable.Column));
 }
 public void AddIntoTable1(int id, string column)
 {
     TestTable1s.Add(new TestTable1CodeFirst {
         Id = id, Column = column
     });
 }
Ejemplo n.º 3
0
 public void AddIntoTable1(int id, string column)
 {
     TestTable1s.InsertOnSubmit(new TestTable1 {
         Column = column, Id = id
     });
 }
 public void RemoveAllTable1()
 {
     TestTable1s.RemoveRange(TestTable1s);
 }
Ejemplo n.º 5
0
 public void RemoveAllTable1()
 {
     TestTable1s.DeleteAllOnSubmit(TestTable1s);
 }