Mercurial > pub > bltoolkit
view Source/Data/Linq/TableT.cs @ 3:1ef98bd70424
!bug 100 +3h
Исправление проблемы BLToolkit + mono 3.4
author | cin |
---|---|
date | Fri, 22 Aug 2014 17:34:46 +0400 |
parents | f990fcb411a9 |
children |
line wrap: on
line source
using System; using System.Linq.Expressions; namespace BLToolkit.Data.Linq { public class Table<T> : ExpressionQuery<T>, ITable { public Table(IDataContextInfo dataContextInfo, Expression expression) { Init(dataContextInfo, expression); } public Table(IDataContextInfo dataContextInfo) { Init(dataContextInfo, null); } #if !SILVERLIGHT public Table() { Init(null, null); } public Table(Expression expression) { Init(null, expression); } #endif public Table(IDataContext dataContext) { Init(dataContext == null ? null : new DataContextInfo(dataContext), null); } public Table(IDataContext dataContext, Expression expression) { Init(dataContext == null ? null : new DataContextInfo(dataContext), expression); } #region Overrides #if OVERRIDETOSTRING public override string ToString() { return "Table(" + typeof (T).Name + ")"; } #endif #endregion public object Select(object p) { throw new NotImplementedException(); } } }