I am trying to update an MVC project from NPoco 3 to NPoco 5. I could no longer use: using var db = new Database("DB"); so I changed it to: using ...
I am trying to update an MVC project from NPoco 3 to NPoco 5. I could no longer use: using var db = new Database("DB"); so I changed it to: using ...
I have a problem with my function throwing an exception "ORA-00936: missing expression" yet the query works on Oracle SQL Developer... Does anyone kn ...
I want to write a query that receives informations about customers and their orders from another table and show them in this way: And I want to do ...
I want to use in built NPoco functions for using join rather than any in query join support like: Please anybody give some idea how can use Joins i ...
I am using this example from Umbraco docs and when i try to save values to the database table i am getting this error: Cannot insert the value NULL in ...
hi i need to get a record, which is related to 3 tables: Routes -> one to one -> StartCity & EndCity Routes -> one to many -> Stopov ...
I have this stored procedure, created by NPOCO after the next linq query: After executing this stored procedure, I get an error: Incorrect syn ...
I use NPoco and I would like to have a query return two results - not a single object with two properties, but just two sums of some table. I was hopi ...
I have two tables in my db and two C# models: Also I have a table which connects Address and Customer tables with columns: Id CustomerId AddressId ...
It is not clear to me by looking at the source code if the method public Sql Append(string sql, params object[] args) in the NPOCO library prevents SQ ...
I have two Dto's: How can I get DistributionPointDto with nested AddressDto using nPoco? I have a generic repository for CRUD with method: But, ...
I'm working on refactoring a persistence layer to use a true generic repository, and want to minimise the number of similar queries being executed on ...
trying to implement this sample code to show last sql statement in the exception. but i am getting error on OnException. cannot change access ...
Instead of the adding search method to every class like this; How to add a method to base class like this; "T does not contain a definition for ...
I want to use OrderBy("columnName"). I see that it is possible by writing an extension method or using reflection. I am using NPoco and I am unable ...
I have a method for saving using NPOCO which is working fine except for one model. This code works and I am using with several models. However with ...
Using NPoco, I'm trying to figure out how to update more than one column of an object (but not all of them). This works... ...but I'm trying to use ...
Several columns of a table are not being updated on our production environment, but are working properly on acceptance environment. They should be the ...
Entity Framework vs NPoco difference and which one is best? ...
NPoco should work for Oracle database out of the box. But when I try to create the Database object it says it cannot find the .Net Framework Data prov ...