/// <summary> /// Deprecated Method for adding a new object to the aspnet_Roles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToaspnet_Roles(aspnet_Roles aspnet_Roles) { base.AddObject("aspnet_Roles", aspnet_Roles); }
/// <summary> /// Create a new 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 aspnet_Roles Createaspnet_Roles(global::System.Guid applicationId, global::System.Guid roleId, global::System.String roleName, global::System.String loweredRoleName) { aspnet_Roles aspnet_Roles = new aspnet_Roles(); aspnet_Roles.ApplicationId = applicationId; aspnet_Roles.RoleId = roleId; aspnet_Roles.RoleName = roleName; aspnet_Roles.LoweredRoleName = loweredRoleName; return aspnet_Roles; }