using System;using System.Collections.Generic;using System.Text;namespace System.Data.SQLite{public class SQLiteColumn{public string ColumnName = "";public bool PrimaryKey = false;public ColType ColDataType = ColType.Text;public bool AutoIncrement = false;public bool NotNull = false;public string DefaultValue = "";public SQLiteColumn(){ }public SQLiteColumn(string colName){ColumnName = colName;PrimaryKey = false;ColDataType = ColType.Text;AutoIncrement = false;}public SQLiteColumn(string colName, ColType colDataType){ColumnName = colName;PrimaryKey = false;ColDataType = colDataType;AutoIncrement = false;}public SQLiteColumn(string colName, bool autoIncrement){ColumnName = colName;if (autoIncrement){PrimaryKey = true;ColDataType = ColType.Integer;AutoIncrement = true;}else{PrimaryKey = false;ColDataType = ColType.Text;AutoIncrement = false;}}public SQLiteColumn(string colName, ColType colDataType, bool primaryKey, bool autoIncrement, bool notNull, string defaultValue){ColumnName = colName;if (autoIncrement){PrimaryKey = true;ColDataType = ColType.Integer;AutoIncrement = true;}else{PrimaryKey = primaryKey;ColDataType = colDataType;AutoIncrement = false;NotNull = notNull;DefaultValue = defaultValue;}}}}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。