/// <summary> /// Create a new RoleUser object. /// </summary> /// <param name="roleName">Initial value of the RoleName property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> public static RoleUser CreateRoleUser(global::System.String roleName, global::System.Guid userId, global::System.Boolean isDeleted) { RoleUser roleUser = new RoleUser(); roleUser.RoleName = roleName; roleUser.UserId = userId; roleUser.IsDeleted = isDeleted; return roleUser; }
/// <summary> /// Deprecated Method for adding a new object to the RoleUsers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRoleUsers(RoleUser roleUser) { base.AddObject("RoleUsers", roleUser); }