public override DataSet Clone() { DSLCompany cln = ((DSLCompany)(base.Clone())); cln.InitVars(); return(cln); }
public DSLCompany GetCompanyList() { DSLCompany ds = new DSLCompany(); sqlDACompany.SelectCommand.Parameters["@companyId"].Value = null; sqlDACompany.Fill(ds); return(ds); }
public DSLCompany GetCompany(int companyId) { DSLCompany ds = new DSLCompany(); sqlDACompany.SelectCommand.Parameters["@companyId"].Value = companyId; sqlDACompany.Fill(ds); if (ds.TCompanies.Count == 1) { return(ds); } else { return(null); } }
public void GetCompanyList(DSLCompany ds) { sqlDACompany.SelectCommand.Parameters["@companyId"].Value = null; sqlDACompany.Fill(ds); }
public void GetCompany(int companyId, DSLCompany ds) { sqlDACompany.SelectCommand.Parameters["@companyId"].Value = companyId; sqlDACompany.Fill(ds); }