internal PgsqlRangeType(PgsqlRangeType basedOn) : base(basedOn) { Subtype = basedOn.Subtype; SubtypeOpClass = basedOn.SubtypeOpClass; Collation = basedOn.Collation; CanonicalFunction = basedOn.CanonicalFunction; SubtypeDiff = basedOn.SubtypeDiff; }
private void ExportRangeType(StringBuilder buffer, PgsqlRangeType type) { if (type == null) { return; } AppendStrArray(buffer, DataSet.GetSQL(type, string.Empty, ";", 0, true)); }
protected internal void RestoreFrom(PgsqlRangeType backup) { base.RestoreFrom(backup); Subtype = backup.Subtype; SubtypeOpClass = backup.SubtypeOpClass; Collation = backup.Collation; CanonicalFunction = backup.CanonicalFunction; SubtypeDiff = backup.SubtypeDiff; }
public override bool ContentEquals(NamedObject obj) { if (!base.ContentEquals(obj)) { return(false); } PgsqlRangeType t = (PgsqlRangeType)obj; return(Subtype == t.Subtype && SubtypeOpClass == t.SubtypeOpClass && Collation == t.Collation && CanonicalFunction == t.CanonicalFunction && SubtypeDiff == t.SubtypeDiff); }
public override void Backup() { _backup = new PgsqlRangeType(this); }