updated documentation, and made the old method obsolete using attribute, would force compilation to fail.
This commit is contained in:
@@ -77,7 +77,7 @@ namespace PoweredSoft.DynamicLinq.Fluent
|
||||
public SelectBuilder Last(string propertyName) => Aggregate(null, SelectTypes.Last, propertyName);
|
||||
public SelectBuilder First(string propertyName) => Aggregate(null, SelectTypes.First, propertyName);
|
||||
|
||||
[System.Obsolete("Use ToList instead")]
|
||||
[System.Obsolete("Use ToList instead", true)]
|
||||
public SelectBuilder PathToList(string path, string propertyName = null, SelectCollectionHandling selectCollectionHandling = SelectCollectionHandling.LeaveAsIs)
|
||||
=> ToList(path, propertyName, selectCollectionHandling);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user