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