Repository<T> Class Members

MNG Profiler

MNG.Direct Documentation
Fields  Properties  Methods 

Repository<T> Class Members

The following tables list the members exposed by Repository<T>.

Protected Fields
 NameDescription
Protected Field  
Top
Public Properties
 NameDescription
Public PropertyAttempts to get or set a repository record based using a known ID.  
Top
Protected Properties
 NameDescription
Protected PropertyGets the database context for the repository.  
Top
Public Methods
 NameDescription
Public MethodAdds a single specified record to the repository.  
Public MethodAdds a list of specified entities to the repository.  
Public MethodGets all records that satisfy user-defined criteria.  
Public MethodGets all records for the current repository.  
Public MethodRemoves a single specified record from the repository.  
Public MethodRemoves a list of specified entities from the repository.  
Public MethodAttempts to find a single record that satisfies user-defined criteria. Default value is passed if no record is found.  
Top
Protected Methods
 NameDescription
Protected MethodAttempts to get a repository record using its ID.  
Protected MethodAttempts to map a data record to the repository type and populate its properties.  
Protected MethodAttempts to set/update a repository record using its ID.  
Protected MethodExecutes a SQL command and returns a list of the results.  
Top
See Also