ITable Interface
Definição
Usado para cenários de consulta sem rigidez de tipos.Used for weakly typed query scenarios.
public interface class ITable : System::Collections::IEnumerable, System::Linq::IQueryable
public interface ITable : System.Collections.IEnumerable, System.Linq.IQueryable
type ITable = interface
interface IQueryable
interface IEnumerable
type ITable = interface
interface IEnumerable
interface IQueryable
Public Interface ITable
Implements IEnumerable, IQueryable
- Derivado
- Implementações
Comentários
Para obter mais informações sobre métodos, consulte Table<TEntity> .For more information about methods, see Table<TEntity>.
Propriedades
| Context |
Obtém o DataContext que foi usado para recuperar esse ITable.Gets the DataContext that has been used to retrieve this ITable. |
| ElementType |
Obtém o tipo de elemento que é retornado quando a árvore de expressão associada a esta instância do IQueryable é executada.Gets the type of the element(s) that are returned when the expression tree associated with this instance of IQueryable is executed. (Herdado de IQueryable) |
| Expression |
Obtém a árvore de expressão que é associada à instância de IQueryable.Gets the expression tree that is associated with the instance of IQueryable. (Herdado de IQueryable) |
| IsReadOnly |
Indica se o tipo das entidades contidas nesta instância ITable têm uma chave primária.Indicates if the type of the entities contained in this ITable instance has a primary key. |
| Provider |
Obtém o provedor de consulta associado esta fonte de dados.Gets the query provider that is associated with this data source. (Herdado de IQueryable) |
Métodos
| Attach(Object) |
Anexa uma entidade ao DataContext em um estado inalterado.Attaches an entity to the DataContext in an unmodified state. |
| Attach(Object, Boolean) |
Anexa todas as entidades de uma coleção ao DataContext em um estado inalterado ou modificado.Attaches all entities of a collection to the DataContext in either a modified or unmodified state. |
| Attach(Object, Object) |
Anexa uma entidade para o DataContext em um estado modificado ou não modificado especificando a entidade e seu estado original.Attaches an entity to the DataContext in either a modified or unmodified state by specifying both the entity and its original state. |
| AttachAll(IEnumerable) |
Anexa todas as entidades de uma coleção ao DataContext em um estado inalterado ou modificado.Attaches all entities of a collection to the DataContext in either a modified or unmodified state. |
| AttachAll(IEnumerable, Boolean) |
Anexa todas as entidades de uma coleção ao DataContext em um estado inalterado ou modificado.Attaches all entities of a collection to the DataContext in either a modified or unmodified state. |
| DeleteAllOnSubmit(IEnumerable) |
Coloca todas as entidades da coleção em um estado |
| DeleteOnSubmit(Object) |
Coloca uma entidade desta tabela em um estado de |
| GetEnumerator() |
Retorna um enumerador que itera em uma coleção.Returns an enumerator that iterates through a collection. (Herdado de IEnumerable) |
| GetModifiedMembers(Object) |
Retorna uma matriz de membros modificados que contêm os valores atuais e originais.Returns an array of modified members that contain their current and original values. |
| GetOriginalEntityState(Object) |
Recupera os valores originais.Retrieves original values. |
| InsertAllOnSubmit(IEnumerable) |
Adiciona todas as entidades de uma coleção ao DataContext em um estado |
| InsertOnSubmit(Object) |
Adiciona uma entidade em um estado |
Métodos de Extensão
| Cast<TResult>(IEnumerable) |
Converte os elementos de um IEnumerable para o tipo especificado.Casts the elements of an IEnumerable to the specified type. |
| OfType<TResult>(IEnumerable) |
Filtra os elementos de um IEnumerable com base em um tipo especificado.Filters the elements of an IEnumerable based on a specified type. |
| AsParallel(IEnumerable) |
Habilita a paralelização de uma consulta.Enables parallelization of a query. |
| AsQueryable(IEnumerable) |
Converte um IEnumerable em um IQueryable.Converts an IEnumerable to an IQueryable. |
| Cast<TResult>(IQueryable) |
Converte os elementos de um IQueryable para o tipo especificado.Converts the elements of an IQueryable to the specified type. |
| OfType<TResult>(IQueryable) |
Filtra os elementos de um IQueryable com base em um tipo especificado.Filters the elements of an IQueryable based on a specified type. |