public TicketCommentRepository(string conn) { dataMapper = new SqlDataMapper <TicketComment>(SqlDbType.Postgresql, conn, new TicketCommentBuilder()); }
public MealRepository(string connection) { dataMapper = new SqlDataMapper <Meal>(SqlDbType.Postgresql, connection, new MealBuilder()); }
public WareBookingRepository(string conn) { dataMapper = new SqlDataMapper <WareBooking>(SqlDbType.Postgresql, conn, new WareBookingBuilder()); innerJoin = " inner join \"Users\" U on \"WareBooking\".\"UserId\" = U.\"Id\" inner join \"Ware\" W on \"WareBooking\".\"WareId\" = W.\"Id\" inner join \"Place\" P on W.\"PlaceId\" = P.\"Id\" "; }
public LoginRepository(string conn) { dataMapper = new SqlDataMapper <Login>(SqlDbType.Postgresql, conn, new LoginBuilder()); }
public WareRepository(string connection) { dataMapper = new SqlDataMapper <Ware>(SqlDbType.Postgresql, connection, new WareBuilder()); }