Exemple #1
0
        public void Create()
        {
            var sql = $"create table {CoreCommon.Table_Secret} ({nameof(UserSecret.Id)} varchar(128),{nameof(UserSecret.UserID)} varchar(128),{nameof(UserSecret.Password)} varchar(128), {nameof(UserSecret.Salt)} varchar(128), {nameof(UserSecret.Type)} varchar(128), {nameof(UserSecret.Remark)} varchar(256))";

            SQLiteCore.CreateTable(sql);
        }
Exemple #2
0
        public void CreateUser()
        {
            var sql = $"create table {CoreCommon.Table_User} ({nameof(User.UserID)} varchar(128), {nameof(User.Password)} varchar(128), {nameof(User.Salt)} varchar(128))";

            SQLiteCore.CreateTable(sql);
        }