public static Entity FindHeader(this Entity entity, string headerName, Rel relation) { return(FindHeader(entity, headerName, relation.GetName())); }
public static Entity AddRecordAndHeaders <T>(this Entity entity, T record, Rel headerRel, Action <T, Entity> recordBuilder = null, Action <HeaderBuilder> headerBuilder = null, IEnumerable <string> select = null, IEnumerable <string> except = null) where T : class { return(AddRecordAndHeaders <T>(entity, record, headerRel.GetName().AsSingle(), recordBuilder, headerBuilder, select, except)); }