Click or drag to resize

SelfServicingExtensionMethods.GetSingle Method

Overload List
  NameDescription
Public methodStatic memberGetSingle<TEntity>(EntityQuery<TEntity>)
Fetches the single entity of the set returned by the query and returns that entity. If there are no elements or more than 1 element, a NotSupportedException will be thrown.
Public methodStatic memberGetSingle<TEntity>(EntityQuery<TEntity>, ITransaction)
Fetches the single entity of the set returned by the query and returns that entity. If there are no elements or more than 1 element, a NotSupportedException will be thrown.
Public methodStatic memberGetSingle<T>(IDao, DynamicQuery<T>)
Fetches the single object of the set returned by the query and returns that object. If there are no elements or more than 1 element, a NotSupportedException will be thrown.
Public methodStatic memberGetSingle<T>(IDao, DynamicQuery<T>, ITransaction)
Fetches the single object of the set returned by the query and returns that object. If there are no elements or more than 1 element, a NotSupportedException will be thrown.
Top
See Also