示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the vw_aspnet_UsersInRoles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTovw_aspnet_UsersInRoles(vw_aspnet_UsersInRoles vw_aspnet_UsersInRoles)
 {
     base.AddObject("vw_aspnet_UsersInRoles", vw_aspnet_UsersInRoles);
 }
示例#2
0
 /// <summary>
 /// Create a new vw_aspnet_UsersInRoles object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="roleId">Initial value of the RoleId property.</param>
 public static vw_aspnet_UsersInRoles Createvw_aspnet_UsersInRoles(global::System.Guid userId, global::System.Guid roleId)
 {
     vw_aspnet_UsersInRoles vw_aspnet_UsersInRoles = new vw_aspnet_UsersInRoles();
     vw_aspnet_UsersInRoles.UserId = userId;
     vw_aspnet_UsersInRoles.RoleId = roleId;
     return vw_aspnet_UsersInRoles;
 }