Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SecurityUsers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSecurityUsers(SecurityUser securityUser)
 {
     base.AddObject("SecurityUsers", securityUser);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new SecurityUser object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="userLoginId">Initial value of the UserLoginId property.</param>
 /// <param name="userName">Initial value of the UserName property.</param>
 /// <param name="userEmail">Initial value of the UserEmail property.</param>
 /// <param name="entityID">Initial value of the EntityID property.</param>
 /// <param name="isActive">Initial value of the isActive property.</param>
 /// <param name="bRID">Initial value of the BRID property.</param>
 /// <param name="lastUpdated">Initial value of the LastUpdated property.</param>
 /// <param name="lastUpdatedBy">Initial value of the LastUpdatedBy property.</param>
 public static SecurityUser CreateSecurityUser(global::System.Int32 id, global::System.String userLoginId, global::System.String userName, global::System.String userEmail, global::System.Int32 entityID, global::System.Boolean isActive, global::System.String bRID, global::System.DateTime lastUpdated, global::System.String lastUpdatedBy)
 {
     SecurityUser securityUser = new SecurityUser();
     securityUser.ID = id;
     securityUser.UserLoginId = userLoginId;
     securityUser.UserName = userName;
     securityUser.UserEmail = userEmail;
     securityUser.EntityID = entityID;
     securityUser.isActive = isActive;
     securityUser.BRID = bRID;
     securityUser.LastUpdated = lastUpdated;
     securityUser.LastUpdatedBy = lastUpdatedBy;
     return securityUser;
 }