-
Notifications
You must be signed in to change notification settings - Fork 0
TQueryCrudExtensions_Find_E+jZAnYohMBLaRnVAeMysQ
Jacob Spitzer edited this page Aug 28, 2022
·
2 revisions
Returns a list of entities from table by a list of given ids. Id must be marked with [Key] attribute.
public static System.Collections.Generic.IEnumerable<Table> Find<Table>(this DbEasyConnect.DbEc<Table> tQuery, long[] ids, string keyColumnName="Id");
tQuery
DbEasyConnect.DbEc<Table>
An DbEc<T>.
ids
System.Int64[]
Id of the entity to get, must be marked with [Key] attribute
keyColumnName
System.String
The column name of the primary key.
System.Collections.Generic.IEnumerable<Table>
The records in TQuery recordset with the given ids, or NULL if no id was found.