/// <summary> /// Método desusado para agregar un nuevo objeto al EntitySet aspnet_Roles. Considere la posibilidad de usar el método .Add de la propiedad ObjectSet<T> asociada. /// </summary> public void AddToaspnet_Roles(aspnet_Roles aspnet_Roles) { base.AddObject("aspnet_Roles", aspnet_Roles); }
/// <summary> /// Crear un nuevo objeto aspnet_Roles. /// </summary> /// <param name="applicationId">Valor inicial de la propiedad ApplicationId.</param> /// <param name="roleId">Valor inicial de la propiedad RoleId.</param> /// <param name="roleName">Valor inicial de la propiedad RoleName.</param> /// <param name="loweredRoleName">Valor inicial de la propiedad LoweredRoleName.</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; }