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(); }
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(); }
public void Update(Models.HtmlItemField @new, Models.HtmlItemField old) { throw new NotImplementedException(); }
public Models.HtmlItemField Get(Models.HtmlItemField dummy) { throw new NotImplementedException(); }