Esempio n. 1
0
 /// <summary>
 /// Create a new UserRoleDetails object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="userRolesID">Initial value of the UserRolesID property.</param>
 /// <param name="userRightDefinitionsID">Initial value of the UserRightDefinitionsID property.</param>
 /// <param name="isAllowed">Initial value of the IsAllowed property.</param>
 public static UserRoleDetails CreateUserRoleDetails(global::System.Guid id, global::System.Guid userRolesID, global::System.Int32 userRightDefinitionsID, global::System.Boolean isAllowed)
 {
     UserRoleDetails userRoleDetails = new UserRoleDetails();
     userRoleDetails.ID = id;
     userRoleDetails.UserRolesID = userRolesID;
     userRoleDetails.UserRightDefinitionsID = userRightDefinitionsID;
     userRoleDetails.IsAllowed = isAllowed;
     return userRoleDetails;
 }
Esempio n. 2
0
 private bool FilterUserRoleDetails(UserRoleDetails entity)
 {
     return (entity.UserRolesID == this.ID);
 }
Esempio n. 3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserRoleDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserRoleDetails(UserRoleDetails userRoleDetails)
 {
     base.AddObject("UserRoleDetails", userRoleDetails);
 }
Esempio n. 4
0
 private void DetachUserRoleDetails(UserRoleDetails entity)
 {
     entity.UserRoles = null;
 }
Esempio n. 5
0
 private void AttachUserRoleDetails(UserRoleDetails entity)
 {
     entity.UserRoles = this;
 }
Esempio n. 6
0
 private bool FilterUserRoleDetails(UserRoleDetails entity)
 {
     return (entity.UserRightDefinitionsID == this.ID);
 }
Esempio n. 7
0
 private void DetachUserRoleDetails(UserRoleDetails entity)
 {
     entity.UserRightDefinitions = null;
 }
Esempio n. 8
0
 private void AttachUserRoleDetails(UserRoleDetails entity)
 {
     entity.UserRightDefinitions = this;
 }