Beispiel #1
0
 internal TableRefBinding(QueryScope queryScope, TableBinding tableBinding, string name)
 {
     _scope      = queryScope;
     _name       = name;
     _definition = tableBinding;
     CreateColumnRefs();
 }
Beispiel #2
0
		internal TableRefBinding(QueryScope queryScope, TableBinding tableBinding, string name)
		{
			_scope = queryScope;
			_name = name;
			_definition = tableBinding;
			CreateColumnRefs();
		}
Beispiel #3
0
		public TableContext(SourceLocation sourceLocation, Identifier remainingPart, Scope scope, TableBinding tableBinding, string correlationName)
			: base(sourceLocation, remainingPart)
		{
			_scope = scope;
			_tableBinding = tableBinding;
			_correlationName = correlationName;
		}
Beispiel #4
0
		public DerivedColumnBinding(TableBinding derivedTable, string name, Type dataType)
			: base(derivedTable)
		{
			_name = name;
			_dataType = dataType;
		}
Beispiel #5
0
		public void AcceptTable(TableBinding table)
		{
			AddWithoutDuplicationCheck(table.Name, table.GetFullName(), "TABLE", TABLE_IMG_INDEX);
		}
 public PropertyColumnBinding(TableBinding tableBinding, PropertyBinding propertyDefinition)
     : base(tableBinding)
 {
     _propertyDefinition = propertyDefinition;
 }
Beispiel #7
0
 protected ColumnBinding(TableBinding table)
 {
     _table = table;
 }
Beispiel #8
0
 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);
 }
Beispiel #9
0
		public RowColumnBinding(TableBinding table) : base(table)
		{
		}
Beispiel #10
0
        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);
        }
Beispiel #11
0
		public PropertyColumnBinding(TableBinding tableBinding, PropertyBinding propertyDefinition)
			: base(tableBinding)
		{
			_propertyDefinition = propertyDefinition;
		}
Beispiel #12
0
 public RowColumnBinding(TableBinding table) : base(table)
 {
 }
Beispiel #13
0
		protected ColumnBinding(TableBinding table)
		{
			_table = table;
		}
Beispiel #14
0
		public void AcceptTable(TableBinding table)
		{
		}