ITable Interfejs
Definicja
Używane dla niesłabo wpisanych scenariuszy zapytań.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
- Pochodne
- Implementuje
Uwagi
Aby uzyskać więcej informacji na temat metod, zobacz Table<TEntity> .For more information about methods, see Table<TEntity>.
Właściwości
Context |
Pobiera DataContext , który został użyty do pobrania tego ITable .Gets the DataContext that has been used to retrieve this ITable. |
ElementType |
Pobiera typ elementów, które są zwracane, gdy jest wykonywane drzewo wyrażenia skojarzone z tym wystąpieniem IQueryable .Gets the type of the element(s) that are returned when the expression tree associated with this instance of IQueryable is executed. (Odziedziczone po IQueryable) |
Expression |
Pobiera drzewo wyrażenia skojarzone z wystąpieniem IQueryable .Gets the expression tree that is associated with the instance of IQueryable. (Odziedziczone po IQueryable) |
IsReadOnly |
Wskazuje, czy typ jednostek zawartych w tym ITable wystąpieniu ma klucz podstawowy.Indicates if the type of the entities contained in this ITable instance has a primary key. |
Provider |
Pobiera dostawcę zapytań, który jest skojarzony z tym źródłem danych.Gets the query provider that is associated with this data source. (Odziedziczone po IQueryable) |
Metody
Attach(Object) |
Dołącza jednostkę do DataContext niezmodyfikowanego stanu.Attaches an entity to the DataContext in an unmodified state. |
Attach(Object, Boolean) |
Dołącza wszystkie jednostki kolekcji do DataContext elementu w zmodyfikowanym lub niezmodyfikowanym stanie.Attaches all entities of a collection to the DataContext in either a modified or unmodified state. |
Attach(Object, Object) |
Dołącza jednostkę do DataContext elementu w zmodyfikowanym lub niezmodyfikowanym stanie przez określenie zarówno jednostki, jak i jej oryginalnego stanu.Attaches an entity to the DataContext in either a modified or unmodified state by specifying both the entity and its original state. |
AttachAll(IEnumerable) |
Dołącza wszystkie jednostki kolekcji do DataContext elementu w zmodyfikowanym lub niezmodyfikowanym stanie.Attaches all entities of a collection to the DataContext in either a modified or unmodified state. |
AttachAll(IEnumerable, Boolean) |
Dołącza wszystkie jednostki kolekcji do DataContext elementu w zmodyfikowanym lub niezmodyfikowanym stanie.Attaches all entities of a collection to the DataContext in either a modified or unmodified state. |
DeleteAllOnSubmit(IEnumerable) |
Umieszcza wszystkie jednostki z kolekcji w |
DeleteOnSubmit(Object) |
Umieszcza jednostkę z tej tabeli w |
GetEnumerator() |
Zwraca moduł wyliczający, który iteruje po kolekcji.Returns an enumerator that iterates through a collection. (Odziedziczone po IEnumerable) |
GetModifiedMembers(Object) |
Zwraca tablicę zmodyfikowanych elementów członkowskich, które zawierają ich bieżące i oryginalne wartości.Returns an array of modified members that contain their current and original values. |
GetOriginalEntityState(Object) |
Pobiera oryginalne wartości.Retrieves original values. |
InsertAllOnSubmit(IEnumerable) |
Dodaje wszystkie jednostki kolekcji do DataContext w |
InsertOnSubmit(Object) |
Dodaje jednostkę w |
Metody rozszerzania
Cast<TResult>(IEnumerable) |
Rzutuje elementy elementu IEnumerable do określonego typu.Casts the elements of an IEnumerable to the specified type. |
OfType<TResult>(IEnumerable) |
Filtruje elementy IEnumerable w oparciu o określony typ.Filters the elements of an IEnumerable based on a specified type. |
AsParallel(IEnumerable) |
Włącza przetwarzanie równoległe zapytania.Enables parallelization of a query. |
AsQueryable(IEnumerable) |
Konwertuje IEnumerable do IQueryable .Converts an IEnumerable to an IQueryable. |
Cast<TResult>(IQueryable) |
Konwertuje elementy elementu IQueryable do określonego typu.Converts the elements of an IQueryable to the specified type. |
OfType<TResult>(IQueryable) |
Filtruje elementy IQueryable w oparciu o określony typ.Filters the elements of an IQueryable based on a specified type. |