コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the vw_aspnet_Roles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTovw_aspnet_Roles(vw_aspnet_Roles vw_aspnet_Roles)
 {
     base.AddObject("vw_aspnet_Roles", vw_aspnet_Roles);
 }
コード例 #2
0
 /// <summary>
 /// Create a new vw_aspnet_Roles object.
 /// </summary>
 /// <param name="applicationId">Initial value of the ApplicationId property.</param>
 /// <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>
 public static vw_aspnet_Roles Createvw_aspnet_Roles(global::System.Guid applicationId, global::System.Guid roleId, global::System.String roleName, global::System.String loweredRoleName)
 {
     vw_aspnet_Roles vw_aspnet_Roles = new vw_aspnet_Roles();
     vw_aspnet_Roles.ApplicationId = applicationId;
     vw_aspnet_Roles.RoleId = roleId;
     vw_aspnet_Roles.RoleName = roleName;
     vw_aspnet_Roles.LoweredRoleName = loweredRoleName;
     return vw_aspnet_Roles;
 }