petapoco
how to create a DAL using petapoco [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing th[详细]
2023-03-28 02:54 分类:问答How do I use the SQL WHERE IN construct with PetaPoco?
I have a database table named Tags (Id, Name) from which I would like to select the ones where the name matches a name in a list. In SQL I would use something like:[详细]
2023-03-26 02:56 分类:问答Calling stored procedures with parameters in PetaPoco
I want to be able to call a stored proc with named parameters in PetaPoco. In order to call a stored proc that does a search/fetch:[详细]
2023-03-25 05:15 分类:问答Increase performance on query with a lot of one-to-many mappings
I\'m using Entity Framework to SQL Azure and in one page of my application we show quite a bit of related data to the user. We\'re loading a max of 30 ite开发者_Go百科ms on the page but each item has[详细]
2023-03-23 17:43 分类:问答Does PetaPoco handle enums?
I\'m experimenting with PetaPoco to convert a table into POCOs. In my table, I\'ve got a column named TheEnum.The values in this column are strings that represent the following enum:[详细]
2023-03-23 14:55 分类:问答How to implement PetaPoco with existing C# 3-tier win app
can anyone help me with converting my project to use PetaPoco? here is my issue. backend is SQL 2010 database .NET fraimework 4.0[详细]
2023-03-22 18:48 分类:问答UnitOfWork pattern not using with petaPoco ORM?
I am new to PetaPoco ORM in .net and i found it quite confused when i take a look on to the business logic part, where we are not using UnitOFWork pattern along wi开发者_如何学JAVAth Repository patter[详细]
2023-03-22 09:16 分类:问答Can I pass table valued parameters to a stored procedure with PetaPoco?
I\'m trying to use PetaPoco for a project that has some stored procedures.Most of them work fine, however, we have a couple where the stored procedure is expecting an IntList which is a User-Defined T[详细]
2023-03-21 12:10 分类:问答Can the multimapping of Petapoco handle multiple JOINs?
I have a list objects I use to fill using Petapoco. The class properties and names are maching the database schema. The main class is Issue, and it is related to two other classes which names and pro[详细]
2023-03-19 11:17 分类:问答Bulk insert/Update with Petapoco
I\'m using the Save() method to insert or update records, but I would like to m开发者_JAVA技巧ake it perform a bulk insert and bulk update with only one database hit. How do I do this?In my case, I to[详细]
2023-03-18 03:58 分类:问答