public void ListUserCompanies(CLItblUser user, Action<IEnumerable<CLItblCompany>> callBack) 
 {
     _globals.CurrentContext.Load(_globals.CurrentContext.ListUserCompaniesQuery(user.UserId), loadOp =>
     {
         callBack(loadOp.Entities);
     }, null);
 }
 private bool FilterCLItblUser(CLItblUser entity)
 {
     return (entity.UserId == this.UserId);
 }
 public void ListUserOptions(CLItblUser user, Action<IEnumerable<SYStblOption>> callBack)
 {
     _globals.CurrentContext.Load(_globals.CurrentContext.GetOptionsQuery("USER", user.UserId), loadOp => { callBack(loadOp.Entities); }, null);
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the CLItblUsers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCLItblUsers(CLItblUser cLItblUser)
 {
     base.AddObject("CLItblUsers", cLItblUser);
 }
 /// <summary>
 /// Create a new CLItblUser object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="fullName">Initial value of the FullName property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 public static CLItblUser CreateCLItblUser(global::System.Int32 userId, global::System.String fullName, global::System.Boolean isActive)
 {
     CLItblUser cLItblUser = new CLItblUser();
     cLItblUser.UserId = userId;
     cLItblUser.FullName = fullName;
     cLItblUser.IsActive = isActive;
     return cLItblUser;
 }