ERPConnect.Linq.ERPTable 1
Namespace: ERPConnect.Linq
Assembly: ERPConnectStandard20.dll
Represents a table for a particular type in the underlying SAP system database.
public class ERPTable<TEntity> : IOrderedQueryable<TEntity>, IOrderedQueryable, IQueryable<TEntity>, IEnumerable<TEntity>, IQueryable, IEnumerable, IQueryProvider, IListSource
Type Parameters
TEntity
Inheritance
Implements
IOrderedQueryable<TEntity>, IOrderedQueryable, IQueryable<TEntity>, IEnumerable<TEntity>, IQueryable, IEnumerable, IQueryProvider, IListSource
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
ERPTable(R3Connection)
Initializes a new instance of the ERPTable class with a given R3Connection.
Parameters
connection
R3Connection
The R3Connection instance.
ERPTable(R3Connection, TextWriter)
Initializes a new instance of the ERPTable class with a given R3Connection and logger object.
Parameters
connection
R3Connection
The R3Connection instance.
log
TextWriter
The logger instance.
ERPTable(ERPDataContext)
Initializes a new instance of the ERPTable class with a given ERPDataContext
Parameters
context
ERPDataContext
The ERPDataContext instance.
Properties
Connection
Gets the connection object used to connect the underlying database.
Property Value
ContainsListCollection
Gets a value indicating whether the collection is a collection of IList objects.
Property Value
ElementType
Gets the type of the element(s) that are returned when the expression tree associated with this instance of IQueryable is executed.
Property Value
Expression
Gets the expression tree that is associated with the instance of IQueryable.
Property Value
Log
Gets and sets the logger object.
Property Value
Methods
CreateQuery<TElement>(Expression)
Constructs an IQueryable object that can evaluate the query represented by a specified expression tree.
Parameters
expression
Expression
An expression tree that represents a LINQ query.
Returns
IQueryable<TElement>
An IQueryable that can evaluate the query represented by the specified expression tree.
Type Parameters
TElement
CreateQuery(Expression)
Constructs an IQueryable object that can evaluate the query represented by a specified expression tree.
Parameters
expression
Expression
An expression tree that represents a LINQ query.
Returns
An IQueryable that can evaluate the query represented by the specified expression tree.
Execute<TResult>(Expression)
Executes the strongly-typed query represented by a specified expression tree.
Parameters
expression
Expression
An expression tree that represents a LINQ query.
Returns
TResult
The value that results from executing the specified query.
Type Parameters
TResult
The type of the value that results from executing the query.
Execute(Expression)
Executes the query represented by a specified expression tree.
Parameters
expression
Expression
An expression tree that represents a LINQ query.
Returns
The value that results from executing the specified query.
GetEnumerator()
Returns an enumerator that iterates through the collection.
Returns
IEnumerator<TEntity>
GetList()
Returns an IList that can be bound to a data source.
Returns
Returns the collection.