public override bool AlterObject(IObjectInfo objectInfo)
{
if (objectInfo == null)
throw new ArgumentNullException("objectInfo");
if (objectInfo.ObjectType == DbObjectType.Cursor ||
objectInfo.ObjectType == DbObjectType.Variable) {
throw new NotSupportedException();
}
if (objectInfo.ObjectType == DbObjectType.Table) {
return AlterTable((TableInfo) objectInfo);
}
if (objectInfo.ObjectType == DbObjectType.Trigger &&
Request.Context.TriggerExists(objectInfo.FullName.Name)) {
// TODO:
}
return base.AlterObject(objectInfo);
}