示例#1
0
        public void Remove(Models.HtmlItemField item)
        {
            DbCommand comm = this.GetCommand("HtmlItemField_Delete");

            comm.AddParameter <int>(this.Factory, "ItemId", item.ItemId);
            comm.AddParameter <string>(this.Factory, "Fieldname", item.FieldName);

            comm.SafeExecuteNonQuery();
        }
示例#2
0
        public void Add(Models.HtmlItemField item)
        {
            DbCommand comm = this.GetCommand("HtmlItemField_Insert");

            comm.AddParameter <int>(this.Factory, "ItemId", item.ItemId);
            comm.AddParameter <string>(this.Factory, "FieldName", item.FieldName);
            comm.AddParameter <int>(this.Factory, "DataType", (int)item.DataType);
            comm.AddParameter <string>(this.Factory, "DataValue", item.DataValue);

            comm.SafeExecuteNonQuery();
        }
示例#3
0
 public void Update(Models.HtmlItemField @new, Models.HtmlItemField old)
 {
     throw new NotImplementedException();
 }
示例#4
0
 public Models.HtmlItemField Get(Models.HtmlItemField dummy)
 {
     throw new NotImplementedException();
 }