public HickoryIT.Shared.Data.Type Add(HickoryIT.Shared.Data.Type type) { HickoryIT.Shared.Data.Type t = Transaction<HickoryIT.Shared.Data.Type, HickoryIT.Shared.Data.Type>(add, type); if (t != null) allTypes.Add(t); return t; }
public DefaultFunctionAdapter(HickoryIT.Core.Information.IInformationAdapter information_adapter) { this.information_adapter = information_adapter; }
public GetCategory(HickoryIT.Core.Information.IInformationAdapter information_adapter) : base(information_adapter) { }
public HickoryIT.Shared.Data.Type Add(HickoryIT.Shared.Data.Type type) { return AddType().Add(type); }
private HickoryIT.Shared.Data.Type add(Connection connection, HickoryIT.Shared.Data.Type type) { type.Id = connection.InsertType(type); return type; }
public int InsertType(HickoryIT.Shared.Data.Type type) { string values = type.Id + @"', '" + type.Name + @"', '" + type.Description + @"', '" + type.Category.Id; return Insert("Type", "Id, Name, Description, Category_Id", values); }