Inheritance: System.Data.Objects.DataClasses.EntityObject
コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the my_aspnet_roles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTomy_aspnet_roles(my_aspnet_roles my_aspnet_roles)
 {
     base.AddObject("my_aspnet_roles", my_aspnet_roles);
 }
コード例 #2
0
 /// <summary>
 /// Create a new my_aspnet_roles object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="applicationId">Initial value of the applicationId property.</param>
 /// <param name="name">Initial value of the name property.</param>
 public static my_aspnet_roles Createmy_aspnet_roles(global::System.Int32 id, global::System.Int32 applicationId, global::System.String name)
 {
     my_aspnet_roles my_aspnet_roles = new my_aspnet_roles();
     my_aspnet_roles.id = id;
     my_aspnet_roles.applicationId = applicationId;
     my_aspnet_roles.name = name;
     return my_aspnet_roles;
 }