public CommandResultSchema(CommandSchema command, string name, CommandResultColumnSchema[] columns, ExtendedProperty[] extendedProperties)
     : this(command, name, columns)
 {
     base._ExtendedProperties = extendedProperties.ToList <ExtendedProperty>();
 }
 // Methods
 public CommandResultSchema(CommandSchema command, string name, CommandResultColumnSchema[] columns)
 {
     base._Name    = name;
     this._Command = command;
     this._Columns = new List <CommandResultColumnSchema>(columns);
 }
예제 #3
0
 public CommandResultColumnSchema(CommandSchema command, string name, DbType dataType, string nativeType, int size, byte precision, int scale, bool allowDBNull, ExtendedProperty[] extendedProperties)
     : this(command, name, dataType, nativeType, size, precision, scale, allowDBNull)
 {
     base._ExtendedProperties = extendedProperties.ToList <ExtendedProperty>();
 }
예제 #4
0
        public override bool Equals(object obj)
        {
            CommandSchema schema = obj as CommandSchema;

            return(((schema != null) && schema.Database.Equals(this.Database)) && ((schema.Owner == this.Owner) && (schema.Name == this.Name)));
        }
예제 #5
0
 public ParameterSchema(CommandSchema command, string name, ParameterDirection direction, DbType dataType, string nativeType, int size, byte precision, int scale, bool allowDBNull, ExtendedProperty[] extendedProperties)
     : this(command, name, direction, dataType, nativeType, size, precision, scale, allowDBNull)
 {
     base._ExtendedProperties = new List <ExtendedProperty>(extendedProperties);
 }