public B1DataService(B1Application app, string udoName) { Check.IsNotNull("app", app); Check.IsNotNullOrEmpty("udoName", udoName); _app = app; UDOName = udoName; _companyService = _app.SBOCompany.GetCompanyService(); _generalService = _companyService.GetGeneralService(udoName); }
public B1Migration() { _app = B1Application.Current; _interpreter = new SBOCommandInterpreter(); SchemaBuilder = new SchemaBuilder(_interpreter); }
public SBOCommandInterpreter() { _app = B1Application.Current; Check.IsNotNull("app", _app); }
public B1PermissionManager(B1Application app) { Check.IsNotNull("app", app); _app = app; _diCompany = _app.SBOCompany; }
public B1BusinessObjects(B1Application app) { Check.IsNotNull("app", app); _app = app; _diCompany = _app.SBOCompany; }