private bool disposedValue = false; // 重複する呼び出しを検出するには protected virtual void Dispose(bool disposing) { if (!disposedValue) { if (disposing) { this.Name = null; this.Model = null; } disposedValue = true; } }
/// <summary> /// Constructor /// コンストラクタ /// </summary> /// <param name="name"></param> /// <param name="maxLength"></param> /// <param name="maxInt"></param> /// <param name="maxDec"></param> /// <param name="valType"></param> /// <param name="isPkey"></param> /// <param name="isNullable"></param> /// <remarks></remarks> public Column(string name , int maxLength , int maxInt , int maxDec , ColumnType valType , bool isPkey , bool isNullable , Xb.Db.Model model) { this.Name = name; this.MaxLength = maxLength; this.MaxInteger = maxInt; this.MaxDecimal = maxDec; this.Type = valType; this.IsPrimaryKey = isPkey; this.IsNullable = isNullable; this.Model = model; }