예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the aspnet_Roles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToaspnet_Roles(aspnet_Role aspnet_Role)
 {
     base.AddObject("aspnet_Roles", aspnet_Role);
 }
예제 #2
0
 /// <summary>
 /// Create a new aspnet_Role object.
 /// </summary>
 /// <param name="roleId">Initial value of the RoleId property.</param>
 /// <param name="roleName">Initial value of the RoleName property.</param>
 /// <param name="loweredRoleName">Initial value of the LoweredRoleName property.</param>
 /// <param name="applicationId">Initial value of the ApplicationId property.</param>
 public static aspnet_Role Createaspnet_Role(global::System.Guid roleId, global::System.String roleName, global::System.String loweredRoleName, global::System.Guid applicationId)
 {
     aspnet_Role aspnet_Role = new aspnet_Role();
     aspnet_Role.RoleId = roleId;
     aspnet_Role.RoleName = roleName;
     aspnet_Role.LoweredRoleName = loweredRoleName;
     aspnet_Role.ApplicationId = applicationId;
     return aspnet_Role;
 }