protected override void FillNotSupported(TypedOperationCollection all)
 {
     base.FillNotSupported(all);
     all.Add(new TypedOperation(DBSchemaTypes.Index, DBSchemaOperation.CheckExists));
     all.Add(new TypedOperation(DBSchemaTypes.Index, DBSchemaOperation.CheckNotExists));
     all.Add(new TypedOperation(DBSchemaTypes.View, DBSchemaOperation.CheckNotExists));
 }
示例#2
0
        protected override void FillNotSupported(TypedOperationCollection all)
        {
            all.Add(new TypedOperation(DBSchemaTypes.CommandScripts, DBSchemaOperation.CheckExists));
            all.Add(new TypedOperation(DBSchemaTypes.Database, DBSchemaOperation.CheckExists));
            all.Add(new TypedOperation(DBSchemaTypes.ForeignKey, DBSchemaOperation.CheckExists));
            all.Add(new TypedOperation(DBSchemaTypes.Function, DBSchemaOperation.CheckExists));
            all.Add(new TypedOperation(DBSchemaTypes.Group, DBSchemaOperation.CheckExists));
            all.Add(new TypedOperation(DBSchemaTypes.Index, DBSchemaOperation.CheckExists));
            all.Add(new TypedOperation(DBSchemaTypes.StoredProcedure, DBSchemaOperation.CheckExists));
            all.Add(new TypedOperation(DBSchemaTypes.Table, DBSchemaOperation.CheckExists));
            all.Add(new TypedOperation(DBSchemaTypes.User, DBSchemaOperation.CheckExists));
            all.Add(new TypedOperation(DBSchemaTypes.View, DBSchemaOperation.CheckExists));

            all.Add(new TypedOperation(DBSchemaTypes.CommandScripts, DBSchemaOperation.CheckNotExists));
            all.Add(new TypedOperation(DBSchemaTypes.Database, DBSchemaOperation.CheckNotExists));
            all.Add(new TypedOperation(DBSchemaTypes.ForeignKey, DBSchemaOperation.CheckNotExists));
            all.Add(new TypedOperation(DBSchemaTypes.Function, DBSchemaOperation.CheckNotExists));
            all.Add(new TypedOperation(DBSchemaTypes.Group, DBSchemaOperation.CheckNotExists));
            all.Add(new TypedOperation(DBSchemaTypes.Index, DBSchemaOperation.CheckExists));
            all.Add(new TypedOperation(DBSchemaTypes.StoredProcedure, DBSchemaOperation.CheckNotExists));
            all.Add(new TypedOperation(DBSchemaTypes.Table, DBSchemaOperation.CheckNotExists));
            all.Add(new TypedOperation(DBSchemaTypes.User, DBSchemaOperation.CheckNotExists));
            all.Add(new TypedOperation(DBSchemaTypes.View, DBSchemaOperation.CheckNotExists));

            base.FillNotSupported(all);
        }
示例#3
0
 /// <summary>
 /// Adds the CreateOn for indexes - cannot use the CREATE INDEX [Name] ON TABLE only supports CREATE INDEX [Name]
 /// </summary>
 /// <param name="all"></param>
 protected override void FillNotSupported(TypedOperationCollection all)
 {
     all.Add(DBSchemaTypes.Index, DBSchemaOperation.CreateOn);
     base.FillNotSupported(all);
 }