Exemplo n.º 1
0
 /// <summary>
 /// Create a new vw_aspnet_UsersInRole 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_UsersInRole Createvw_aspnet_UsersInRole(global::System.Guid userId, global::System.Guid roleId)
 {
     vw_aspnet_UsersInRole vw_aspnet_UsersInRole = new vw_aspnet_UsersInRole();
     vw_aspnet_UsersInRole.UserId = userId;
     vw_aspnet_UsersInRole.RoleId = roleId;
     return vw_aspnet_UsersInRole;
 }
Exemplo n.º 2
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_UsersInRole vw_aspnet_UsersInRole)
 {
     base.AddObject("vw_aspnet_UsersInRoles", vw_aspnet_UsersInRole);
 }