Наследование: System.Data.Objects.DataClasses.EntityObject
Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the my_aspnet_usersinroles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTomy_aspnet_usersinroles(my_aspnet_usersinroles my_aspnet_usersinroles)
 {
     base.AddObject("my_aspnet_usersinroles", my_aspnet_usersinroles);
 }
Пример #2
0
 /// <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;
 }