Exemplo n.º 1
0
        public override void SetValue(DBObjectInitializeType myDBObjectInitializeType)
        {
            switch (myDBObjectInitializeType)
            {
                case DBObjectInitializeType.Default:
                case DBObjectInitializeType.MinValue:
                case DBObjectInitializeType.MaxValue:
                default:
                    _Value = new EdgeKey();
                    break;
            }

            CalcEstimatedSize(this);
        }
Exemplo n.º 2
0
 public DBBackwardEdgeType(DBObjectInitializeType myDBObjectInitializeType)
 {
     SetValue(myDBObjectInitializeType);
 }
Exemplo n.º 3
0
 public override void SetValue(DBObjectInitializeType myDBObjectInitializeType)
 {
     switch (myDBObjectInitializeType)
     {
         case DBObjectInitializeType.Default:
             _Value = false;
             break;
         case DBObjectInitializeType.MinValue:
             _Value = false;
             break;
         case DBObjectInitializeType.MaxValue:
             _Value = true;
             break;
         default:
             _Value = false;
             break;
     }
 }
Exemplo n.º 4
0
 public DBBoolean(DBObjectInitializeType myDBObjectInitializeType)
 {
     SetValue(myDBObjectInitializeType);
 }
Exemplo n.º 5
0
 public override void SetValue(DBObjectInitializeType myDBObjectInitializeType)
 {
     switch (myDBObjectInitializeType)
     {
         case DBObjectInitializeType.Default:
         case DBObjectInitializeType.MinValue:
         case DBObjectInitializeType.MaxValue:
         default:
             _Value = 0;
             break;
     }
 }
Exemplo n.º 6
0
        public DBObjectRevisionID(DBObjectInitializeType myDBObjectInitializeType)
        {
            SetValue(myDBObjectInitializeType);

            //DO NOT ESTIMATE THE SIZE!!! it's done in SetValue(...)
        }
Exemplo n.º 7
0
 public override void SetValue(DBObjectInitializeType myDBObjectInitializeType)
 {
     switch (myDBObjectInitializeType)
     {
         case DBObjectInitializeType.Default:
             _Value = new ObjectUUID(0);
             break;
         case DBObjectInitializeType.MinValue:
             _Value = new ObjectUUID(0);
             break;
         case DBObjectInitializeType.MaxValue:
             _Value = new ObjectUUID();
             break;
         default:
             _Value = new ObjectUUID(0);
             break;
     }
 }
Exemplo n.º 8
0
        public override void SetValue(DBObjectInitializeType myDBObjectInitializeType)
        {
            switch (myDBObjectInitializeType)
            {
                case DBObjectInitializeType.Default:
                    _Value = TimestampNonce.Now;
                    break;
                case DBObjectInitializeType.MinValue:
                    _Value = DateTime.MinValue;
                    break;
                case DBObjectInitializeType.MaxValue:
                    _Value = DateTime.MaxValue;
                    break;
                default:
                    _Value = TimestampNonce.Now;
                    break;
            }

            CalcEstimatedSize(this);
        }
Exemplo n.º 9
0
        public DBBaseObject(DBObjectInitializeType DBObjectInitializeType)
        {
            SetValue(DBObjectInitializeType);

            //DO NOT ESTIMATE THE SIZE!!! it's done in SetValue(...)
        }
Exemplo n.º 10
0
 public abstract void SetValue(DBObjectInitializeType myDBObjectInitializeType);
Exemplo n.º 11
0
        public override void SetValue(DBObjectInitializeType DBObjectInitializeType)
        {
            switch (DBObjectInitializeType)
            {
                case DBObjectInitializeType.Default:
                case DBObjectInitializeType.MinValue:
                case DBObjectInitializeType.MaxValue:
                default:
                    _Value = String.Empty;
                    break;
            }

            CalcEstimatedSize(this);
        }
Exemplo n.º 12
0
 public DBReference(DBObjectInitializeType myDBObjectInitializeType)
 {
     SetValue(myDBObjectInitializeType);
 }
Exemplo n.º 13
0
 public DBBaseObject(DBObjectInitializeType DBObjectInitializeType)
 {
     SetValue(DBObjectInitializeType);
 }
Exemplo n.º 14
0
 public DBDateTime(DBObjectInitializeType myDBObjectInitializeType)
 {
     SetValue(myDBObjectInitializeType);
 }
Exemplo n.º 15
0
 public DBVertex(DBObjectInitializeType myDBObjectInitializeType)
 {
     SetValue(myDBObjectInitializeType);
 }
Exemplo n.º 16
0
Arquivo: DBType.cs Projeto: ipbi/sones
 public DBType(DBObjectInitializeType myDBObjectInitializeType)
 {
     SetValue(myDBObjectInitializeType);
 }
Exemplo n.º 17
0
 public DBUInt64(DBObjectInitializeType myDBObjectInitializeType)
 {
     SetValue(myDBObjectInitializeType);
 }
Exemplo n.º 18
0
        public DBDateTime(DBObjectInitializeType myDBObjectInitializeType)
        {
            SetValue(myDBObjectInitializeType);

            //DO NOT ESTIMATE THE SIZE!!! it's done in SetValue(...)
        }
Exemplo n.º 19
0
 public DBObjectRevisionID(DBObjectInitializeType myDBObjectInitializeType)
 {
     SetValue(myDBObjectInitializeType);
 }
Exemplo n.º 20
0
 public DBNumber(DBObjectInitializeType myDBObjectInitializeType)
 {
     SetValue(myDBObjectInitializeType);
 }
Exemplo n.º 21
0
 public DBString(DBObjectInitializeType myDBObjectInitializeType)
 {
     SetValue(myDBObjectInitializeType);
 }