예제 #1
0
        // _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
        //     Constructor
        // _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

        /// <summary>
        /// コンストラクタ
        /// </summary>
        /// <param name="intValue">数値設定値</param>
        public DBItemValue(DBValueInt intValue)
        {
            Type          = DBItemType.Int;
            this.intValue = intValue;
        }
예제 #2
0
 protected DBItemValue(SerializationInfo info, StreamingContext context)
 {
     Type        = DBItemType.FromCode(info.GetInt32(nameof(Type)));
     intValue    = info.GetInt32(nameof(intValue));
     stringValue = info.GetValue <DBValueString>(nameof(stringValue));
 }