You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.0 KiB
32 lines
1.0 KiB
using System;
|
|
|
|
namespace OpenDBDiff.Schema.Model
|
|
{
|
|
public interface ISchemaBase
|
|
{
|
|
ISchemaBase Clone(ISchemaBase parent);
|
|
int DependenciesCount { get; }
|
|
string FullName { get; }
|
|
int Id { get; set; }
|
|
Boolean HasState(ObjectStatus statusFind);
|
|
string Name { get; set; }
|
|
string Owner { get; set; }
|
|
ISchemaBase Parent { get; set; }
|
|
ObjectStatus Status { get; set; }
|
|
Boolean IsSystem { get; set; }
|
|
ObjectType ObjectType { get; set; }
|
|
Boolean GetWasInsertInDiffList(ScriptAction action);
|
|
void SetWasInsertInDiffList(ScriptAction action);
|
|
void ResetWasInsertInDiffList();
|
|
string ToSqlDrop();
|
|
string ToSqlAdd();
|
|
string ToSql();
|
|
SQLScriptList ToSqlDiff(System.Collections.Generic.ICollection<ISchemaBase> schemas);
|
|
SQLScript Create();
|
|
SQLScript Drop();
|
|
int CompareFullNameTo(string name, string myName);
|
|
Boolean IsCodeType { get; }
|
|
IDatabase RootParent { get; }
|
|
}
|
|
}
|