/// <summary> /// Create a new 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 aspnet_UsersInRoles Createaspnet_UsersInRoles(global::System.Guid userId, global::System.Guid roleId) { aspnet_UsersInRoles aspnet_UsersInRoles = new aspnet_UsersInRoles(); aspnet_UsersInRoles.UserId = userId; aspnet_UsersInRoles.RoleId = roleId; return aspnet_UsersInRoles; }
/// <summary> /// Deprecated Method for adding a new object to the aspnet_UsersInRoles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToaspnet_UsersInRoles(aspnet_UsersInRoles aspnet_UsersInRoles) { base.AddObject("aspnet_UsersInRoles", aspnet_UsersInRoles); }