PocoDataSource
Assembly: ServiceStack.dll
View Source
Declaration
public static class PocoDataSource
Methods
Create<T>(ICollection<T>)
View Source
Declaration
public static PocoDataSource<T> Create<T>(ICollection<T> items)
Returns
ServiceStack.PocoDataSource<T>
Parameters
Type | Name |
---|---|
System.Collections.Generic.ICollection<<T>> | items |
Type Parameters
T
Create<T>(IEnumerable<T>, Int64)
View Source
Declaration
public static PocoDataSource<T> Create<T>(IEnumerable<T> items, long idSequence)
Returns
ServiceStack.PocoDataSource<T>
Parameters
Type | Name |
---|---|
System.Collections.Generic.IEnumerable<<T>> | items |
System.Int64 | idSequence |
Type Parameters
T
Create<T>(IEnumerable<T>, Func<IEnumerable<T>, Int64>)
View Source
Declaration
public static PocoDataSource<T> Create<T>(IEnumerable<T> items, Func<IEnumerable<T>, long> nextIdSequence)
Returns
ServiceStack.PocoDataSource<T>
Parameters
Type | Name |
---|---|
System.Collections.Generic.IEnumerable<<T>> | items |
System.Func<System.Collections.Generic.IEnumerable<<T>>,System.Int64> | nextIdSequence |
Type Parameters
T
Create<T>(ICollection<T>, Func<IEnumerable<T>, Int64>)
View Source
Declaration
public static PocoDataSource<T> Create<T>(ICollection<T> items, Func<IEnumerable<T>, long> nextId)
Returns
ServiceStack.PocoDataSource<T>
Parameters
Type | Name |
---|---|
System.Collections.Generic.ICollection<<T>> | items |
System.Func<System.Collections.Generic.IEnumerable<<T>>,System.Int64> | nextId |
Type Parameters
T