/// <summary> /// Deprecated Method for adding a new object to the roles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToroles(role role) { base.AddObject("roles", role); }
/// <summary> /// Create a new role object. /// </summary> /// <param name="roleId">Initial value of the RoleId property.</param> /// <param name="name">Initial value of the Name property.</param> public static role Createrole(global::System.Int64 roleId, global::System.String name) { role role = new role(); role.RoleId = roleId; role.Name = name; return role; }