示例#1
0
 /// <summary>
 /// Create a new UserRoles object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 public static UserRoles CreateUserRoles(global::System.Guid id)
 {
     UserRoles userRoles = new UserRoles();
     userRoles.ID = id;
     return userRoles;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserRoles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserRoles(UserRoles userRoles)
 {
     base.AddObject("UserRoles", userRoles);
 }
示例#3
0
 private bool FilterUserRoles(UserRoles entity)
 {
     return (entity.ApplicationId == this.ID);
 }
示例#4
0
 private void DetachUserRoles(UserRoles entity)
 {
     entity.UserApplications = null;
 }
示例#5
0
 private void AttachUserRoles(UserRoles entity)
 {
     entity.UserApplications = this;
 }
示例#6
0
 private bool FilterUserRoles(UserRoles entity)
 {
     return (entity.ID == this.UserRolesID);
 }