Example #1
0
 internal PgsqlRangeType(PgsqlRangeType basedOn) : base(basedOn)
 {
     Subtype           = basedOn.Subtype;
     SubtypeOpClass    = basedOn.SubtypeOpClass;
     Collation         = basedOn.Collation;
     CanonicalFunction = basedOn.CanonicalFunction;
     SubtypeDiff       = basedOn.SubtypeDiff;
 }
Example #2
0
 private void ExportRangeType(StringBuilder buffer, PgsqlRangeType type)
 {
     if (type == null)
     {
         return;
     }
     AppendStrArray(buffer, DataSet.GetSQL(type, string.Empty, ";", 0, true));
 }
Example #3
0
 protected internal void RestoreFrom(PgsqlRangeType backup)
 {
     base.RestoreFrom(backup);
     Subtype           = backup.Subtype;
     SubtypeOpClass    = backup.SubtypeOpClass;
     Collation         = backup.Collation;
     CanonicalFunction = backup.CanonicalFunction;
     SubtypeDiff       = backup.SubtypeDiff;
 }
Example #4
0
        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);
        }
Example #5
0
 public override void Backup()
 {
     _backup = new PgsqlRangeType(this);
 }