public override bool ContentEquals(NamedObject obj) { if (!base.ContentEquals(obj)) { return(false); } PgsqlBasicType t = (PgsqlBasicType)obj; return(InputFunction == t.InputFunction && OutputFunction == t.OutputFunction && ReceiveFunction == t.ReceiveFunction && SendFunction == t.SendFunction && TypmodInFunction == t.TypmodInFunction && TypmodOutFunction == t.TypmodOutFunction && AnalyzeFunction == t.AnalyzeFunction && InternalLength == t.InternalLength && PassedbyValue == t.PassedbyValue && Alignment == t.Alignment && Storage == t.Storage && Like == t.Like && Category == t.Category && Preferred == t.Preferred && Default == t.Default && Element == t.Element && Delimiter == t.Delimiter && Collatable == t.Collatable); }
private void ExportBasicType(StringBuilder buffer, PgsqlBasicType type) { if (type == null) { return; } AppendStrArray(buffer, DataSet.GetSQL(type, string.Empty, ";", 0, true)); }
internal PgsqlBasicType(PgsqlBasicType basedOn) : base(basedOn) { InputFunction = basedOn.InputFunction; OutputFunction = basedOn.OutputFunction; ReceiveFunction = basedOn.ReceiveFunction; SendFunction = basedOn.SendFunction; TypmodInFunction = basedOn.TypmodInFunction; TypmodOutFunction = basedOn.TypmodOutFunction; AnalyzeFunction = basedOn.AnalyzeFunction; InternalLength = basedOn.InternalLength; PassedbyValue = basedOn.PassedbyValue; Alignment = basedOn.Alignment; Storage = basedOn.Storage; Like = basedOn.Like; Category = basedOn.Category; Preferred = basedOn.Preferred; Default = basedOn.Default; Element = basedOn.Element; Delimiter = basedOn.Delimiter; Collatable = basedOn.Collatable; }
protected internal void RestoreFrom(PgsqlBasicType backup) { base.RestoreFrom(backup); InputFunction = backup.InputFunction; OutputFunction = backup.OutputFunction; ReceiveFunction = backup.ReceiveFunction; SendFunction = backup.SendFunction; TypmodInFunction = backup.TypmodInFunction; TypmodOutFunction = backup.TypmodOutFunction; AnalyzeFunction = backup.AnalyzeFunction; InternalLength = backup.InternalLength; PassedbyValue = backup.PassedbyValue; Alignment = backup.Alignment; Storage = backup.Storage; Like = backup.Like; Category = backup.Category; Preferred = backup.Preferred; Default = backup.Default; Element = backup.Element; Delimiter = backup.Delimiter; Collatable = backup.Collatable; }
public override void Backup() { _backup = new PgsqlBasicType(this); }