Exemplo n.º 1
0
 /// <summary>
 /// Update
 /// </summary>
 /// <param name="model"></param>
 /// <returns></returns>
 public bool Update(ProxyHero.Entity.Plugin model)
 {
     return(LiteDBHelper <ProxyHero.Entity.Plugin> .Update(model, TABLE_NAME));
 }
Exemplo n.º 2
0
        static string TABLE_NAME = "Plugins"; //table name

        /// <summary>
        /// Insert
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public int Insert(ProxyHero.Entity.Plugin model)
        {
            return(LiteDBHelper <ProxyHero.Entity.Plugin> .Insert(model, TABLE_NAME));
        }