/// <summary> /// Create a new Role object. /// </summary> /// <param name="id">Initial value of Id.</param> public static Role CreateRole(long id) { Role role = new Role(); role.Id = id; return role; }
/// <summary> /// Deprecated Method for adding a new object to the Roles EntitySet. /// </summary> public void AddToRoles(Role role) { base.AddObject("Roles", role); }