added old method for people that are upgrading, and will let them the time to migrate their solution.
This commit is contained in:
parent
695d3085d1
commit
7c0d0ef6c9
@ -77,6 +77,10 @@ namespace PoweredSoft.DynamicLinq.Fluent
|
|||||||
public SelectBuilder Last(string propertyName) => Aggregate(null, SelectTypes.Last, propertyName);
|
public SelectBuilder Last(string propertyName) => Aggregate(null, SelectTypes.Last, propertyName);
|
||||||
public SelectBuilder First(string propertyName) => Aggregate(null, SelectTypes.First, propertyName);
|
public SelectBuilder First(string propertyName) => Aggregate(null, SelectTypes.First, propertyName);
|
||||||
|
|
||||||
|
[System.Obsolete("Use ToList instead")]
|
||||||
|
public SelectBuilder PathToList(string path, string propertyName = null, SelectCollectionHandling selectCollectionHandling = SelectCollectionHandling.LeaveAsIs)
|
||||||
|
=> ToList(path, propertyName, selectCollectionHandling);
|
||||||
|
|
||||||
public SelectBuilder ToList(string path, string propertyName = null, SelectCollectionHandling selectCollectionHandling = SelectCollectionHandling.LeaveAsIs)
|
public SelectBuilder ToList(string path, string propertyName = null, SelectCollectionHandling selectCollectionHandling = SelectCollectionHandling.LeaveAsIs)
|
||||||
=> Aggregate(path, SelectTypes.ToList, propertyName: propertyName, selectCollectionHandling: selectCollectionHandling);
|
=> Aggregate(path, SelectTypes.ToList, propertyName: propertyName, selectCollectionHandling: selectCollectionHandling);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user