private void ExportEnumType(StringBuilder buffer, PgsqlEnumType type) { if (type == null) { return; } AppendStrArray(buffer, DataSet.GetSQL(type, string.Empty, ";", 0, true)); }
public override bool ContentEquals(NamedObject obj) { if (!base.ContentEquals(obj)) { return(false); } PgsqlEnumType t = (PgsqlEnumType)obj; return(ArrayEquals(Labels, t.Labels)); }
internal PgsqlEnumType(PgsqlEnumType basedOn) : base(basedOn) { Labels = (string[])basedOn.Labels.Clone(); }
protected internal void RestoreFrom(PgsqlEnumType backup) { base.RestoreFrom(backup); Labels = (string[])backup.Labels.Clone(); }
public override void Backup() { _backup = new PgsqlEnumType(this); }