1 implementation of ITable
System.Data.Linq (1)
DataContext.cs (1)
1106
public sealed class Table<TEntity> : IQueryable<TEntity>, IQueryProvider, IEnumerable<TEntity>, IQueryable, IEnumerable,
ITable
, IListSource, ITable<TEntity>
62 references to ITable
System.Data.Linq (43)
ChangeDirector.cs (1)
399
ITable
table = this.context.GetTable(tracked.Type.InheritanceRoot.Type);
CompiledQuery.cs (1)
243
return typeof(
ITable
).IsAssignableFrom(query.Body.Type);
DataBindingList.cs (1)
16
ITable
table = context.GetTable(metaTable.RowType.Type);
DataContext.cs (24)
70
Dictionary<MetaTable,
ITable
> tables;
190
this.tables = new Dictionary<MetaTable,
ITable
>();
362
ITable
table = this.GetTable(metaTable);
376
public
ITable
GetTable(Type type) {
391
private
ITable
GetTable(MetaTable metaTable) {
393
ITable
tb;
397
tb = (
ITable
)Activator.CreateInstance(tbType, BindingFlags.Instance|BindingFlags.Public|BindingFlags.NonPublic, null, new object[] { this, metaTable }, null);
421
ITable
tb = (
ITable
)fi.GetValue(schema);
1241
void
ITable
.InsertOnSubmit(object entity) {
1271
void
ITable
.InsertAllOnSubmit(IEnumerable entities) {
1279
ITable
itable = this;
1328
void
ITable
.DeleteOnSubmit(object entity) {
1357
void
ITable
.DeleteAllOnSubmit(IEnumerable entities) {
1365
ITable
itable = this;
1384
void
ITable
.Attach(object entity) {
1439
void
ITable
.Attach(object entity, bool asModified) {
1490
void
ITable
.Attach(object entity, object original) {
1523
void
ITable
.AttachAll(IEnumerable entities) {
1527
((
ITable
)this).AttachAll(entities, false);
1550
void
ITable
.AttachAll(IEnumerable entities, bool asModified) {
1558
ITable
itable = this;
1589
object
ITable
.GetOriginalEntityState(object entity) {
1621
ModifiedMemberInfo[]
ITable
.GetModifiedMembers(object entity) {
DataServices.cs (3)
213
ITable
table = this.context.GetTable(type.InheritanceRoot.Type);
505
ITable
t = cex.Value as
ITable
;
SqlClient\Common\Expressions.cs (3)
46
private
ITable
table;
47
internal LinkedTableExpression(SqlLink link,
ITable
table, Type type)
55
internal
ITable
Table {
SqlClient\Query\Funcletizer.cs (2)
119
if (typeof(
ITable
).IsAssignableFrom(expression.Type) ||
128
this.isRemote |= (m.Expression != null && typeof(
ITable
).IsAssignableFrom(m.Expression.Type));
SqlClient\Query\QueryConverter.cs (7)
100
if (typeof(
ITable
).IsAssignableFrom(node.Type)) {
284
ITable
t = sv.Value as
ITable
;
784
private SqlNode TranslateConstantTable(
ITable
table, SqlLink link) {
1863
ITable
table = this.services.Context.GetTable(rowType);
1909
ITable
table = this.services.Context.GetTable(typeArgs[0]);
2595
ITable
table = this.services.Context.GetTable(metaType.InheritanceRoot.Type);
SqlClient\Query\Translator.cs (1)
248
ITable
table = this.services.Context.GetTable(tableType);
System.Web.Extensions (19)
UI\WebControls\ILinqToSql.cs (4)
12
void Add(
ITable
table, object row);
14
void Attach(
ITable
table, object row);
16
object GetOriginalEntityState(
ITable
table, object row);
20
void Remove(
ITable
table, object row);
UI\WebControls\LinqDataSourceView.cs (11)
464
_linqToSql.Attach((
ITable
)table, oldDataObject);
465
_linqToSql.Remove((
ITable
)table, oldDataObject);
537
ITable
dlinqTable = table as
ITable
;
600
else if (!(table is
ITable
) && _storeOriginalValues) {
626
private ReadOnlyCollection<MetaDataMember> GetTableMetaDataMembers(
ITable
table, Type dataObjectType) {
627
DataContext context = ((
ITable
)table).Context;
673
_linqToSql.Add((
ITable
)table, newDataObject);
868
IDictionary<string, MetaDataMember> columns = GetTableMetaDataMembers((
ITable
)EntitySet, entityType).ToDictionary(c => c.Member.Name);
880
_linqToSql.Attach((
ITable
)table, oldDataObject);
960
if (!(tableType.IsGenericType && tableType.GetGenericArguments().Length == 1 && typeof(
ITable
).IsAssignableFrom(tableType))) {
UI\WebControls\LinqToSqlWrapper.cs (4)
13
public void Add(
ITable
table, object row) {
17
public void Attach(
ITable
table, object row) {
21
public object GetOriginalEntityState(
ITable
table, object row) {
29
public void Remove(
ITable
table, object row) {