private bool FilterCLItblCompany(CLItblCompany entity) { return (entity.CompanyId == this.CompanyId); }
public void ListCompanyMenu(CLItblCompany company, Action<IEnumerable<SYStblMenu>> callBack) { _globals.CurrentContext.Load(_globals.CurrentContext.ListCompanyMenuQuery(company.CompanyId), loadOp => { callBack(loadOp.Entities); }, null); }
/// <summary> /// Create a new CLItblCompany object. /// </summary> /// <param name="companyId">Initial value of the CompanyId property.</param> /// <param name="fullName">Initial value of the FullName property.</param> public static CLItblCompany CreateCLItblCompany(global::System.Int32 companyId, global::System.String fullName) { CLItblCompany cLItblCompany = new CLItblCompany(); cLItblCompany.CompanyId = companyId; cLItblCompany.FullName = fullName; return cLItblCompany; }
public void ListCompanyOptions(CLItblCompany company, Action<IEnumerable<SYStblOption>> callBack) { _globals.CurrentContext.Load(_globals.CurrentContext.GetOptionsQuery("COMPANY", company.CompanyId), loadOp => { callBack(loadOp.Entities); }, null); }
/// <summary> /// Deprecated Method for adding a new object to the CLItblCompanies EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCLItblCompanies(CLItblCompany cLItblCompany) { base.AddObject("CLItblCompanies", cLItblCompany); }