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