コード例 #1
0
 internal TableRefBinding(QueryScope queryScope, TableBinding tableBinding, string name)
 {
     _scope      = queryScope;
     _name       = name;
     _definition = tableBinding;
     CreateColumnRefs();
 }
コード例 #2
0
ファイル: TableRefBinding.cs プロジェクト: chenzuo/nquery
		internal TableRefBinding(QueryScope queryScope, TableBinding tableBinding, string name)
		{
			_scope = queryScope;
			_name = name;
			_definition = tableBinding;
			CreateColumnRefs();
		}
コード例 #3
0
ファイル: TableContext.cs プロジェクト: chenzuo/nquery
		public TableContext(SourceLocation sourceLocation, Identifier remainingPart, Scope scope, TableBinding tableBinding, string correlationName)
			: base(sourceLocation, remainingPart)
		{
			_scope = scope;
			_tableBinding = tableBinding;
			_correlationName = correlationName;
		}
コード例 #4
0
		public DerivedColumnBinding(TableBinding derivedTable, string name, Type dataType)
			: base(derivedTable)
		{
			_name = name;
			_dataType = dataType;
		}
コード例 #5
0
ファイル: MemberAcceptor.cs プロジェクト: chenzuo/nquery
		public void AcceptTable(TableBinding table)
		{
			AddWithoutDuplicationCheck(table.Name, table.GetFullName(), "TABLE", TABLE_IMG_INDEX);
		}
コード例 #6
0
 public PropertyColumnBinding(TableBinding tableBinding, PropertyBinding propertyDefinition)
     : base(tableBinding)
 {
     _propertyDefinition = propertyDefinition;
 }
コード例 #7
0
 protected ColumnBinding(TableBinding table)
 {
     _table = table;
 }
コード例 #8
0
ファイル: ErrorProvider.cs プロジェクト: chenzuo/nquery
 void IErrorReporter.AmbiguousTable(SourceRange sourceRange, Identifier identifier, TableBinding[] candidates)
 {
     string message = String.Format(CultureInfo.CurrentCulture, Resources.AmbiguousTable, identifier, FormattingHelpers.FormatBindingList(candidates));
     HandleError(sourceRange, ErrorId.AmbiguousTable, message);
 }
コード例 #9
0
ファイル: RowColumnBinding.cs プロジェクト: chenzuo/nquery
		public RowColumnBinding(TableBinding table) : base(table)
		{
		}
コード例 #10
0
ファイル: ExceptionBuilder.cs プロジェクト: chenzuo/nquery
        public static ArgumentException ParentColumnNotFound(string paramName, TableBinding parentTable, string parentColumn)
        {
            if (paramName == null)
                throw new ArgumentNullException("paramName");

            if (parentTable == null)
                throw new ArgumentNullException("parentTable");

            if (parentColumn == null)
                throw new ArgumentNullException("parentColumn");

            string message = String.Format(CultureInfo.CurrentCulture, Resources.ParentColumnNotFound, parentColumn, parentTable);
            return new ArgumentException(message, paramName);
        }
コード例 #11
0
		public PropertyColumnBinding(TableBinding tableBinding, PropertyBinding propertyDefinition)
			: base(tableBinding)
		{
			_propertyDefinition = propertyDefinition;
		}
コード例 #12
0
 public RowColumnBinding(TableBinding table) : base(table)
 {
 }
コード例 #13
0
ファイル: ColumnBinding.cs プロジェクト: chenzuo/nquery
		protected ColumnBinding(TableBinding table)
		{
			_table = table;
		}
コード例 #14
0
ファイル: ScopeInfoBuilder.cs プロジェクト: chenzuo/nquery
		public void AcceptTable(TableBinding table)
		{
		}