Exemplo n.º 1
0
 public static int UpdateCompany(long CompanyID, string Name, string PhoneList, string EmailAddress, string Address1, string Address2, byte[] Logo, string Motto, string CustomNote)
 {
     using (SoftLogik.Win.SPDataProxyTableAdapters.taSPCompany companyAdapter = new SoftLogik.Win.SPDataProxyTableAdapters.taSPCompany())
     {
         return companyAdapter.Update(CompanyID, Name, PhoneList, EmailAddress, Address1, Address2, Logo, Motto, CustomNote);
     }
 }
Exemplo n.º 2
0
 public static int DeleteCompany(long CompanyID)
 {
     using (SoftLogik.Win.SPDataProxyTableAdapters.taSPCompany companyAdapter = new SoftLogik.Win.SPDataProxyTableAdapters.taSPCompany())
     {
         return companyAdapter.Delete(CompanyID);
     }
 }