Exemplo 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;
 }
Exemplo n.º 2
0
 private bool FilterUserRoleDetails(UserRoleDetails entity)
 {
     return (entity.UserRolesID == this.ID);
 }
Exemplo 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);
 }
Exemplo n.º 4
0
 private void DetachUserRoleDetails(UserRoleDetails entity)
 {
     entity.UserRoles = null;
 }
Exemplo n.º 5
0
 private void AttachUserRoleDetails(UserRoleDetails entity)
 {
     entity.UserRoles = this;
 }
Exemplo n.º 6
0
 private bool FilterUserRoleDetails(UserRoleDetails entity)
 {
     return (entity.UserRightDefinitionsID == this.ID);
 }
Exemplo n.º 7
0
 private void DetachUserRoleDetails(UserRoleDetails entity)
 {
     entity.UserRightDefinitions = null;
 }
Exemplo n.º 8
0
 private void AttachUserRoleDetails(UserRoleDetails entity)
 {
     entity.UserRightDefinitions = this;
 }