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