コード例 #1
0
 public IEnumerable<dynamic> GetAllCompanies()
 {
     dynamic table = new Company();
     return table.Query("SELECT * FROM Company");
 }
コード例 #2
0
 public dynamic AddCompany(string name, string description)
 {
     dynamic table = new Company();
     return table.Insert(new { Name = name, Description = description });
 }