npoco Questions
5
Solved
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:
Select * from Tags Where Name I...
2
Solved
I've noticed a huge difference in how NPoco (or PetaPoco) works depending on which function you call when you are using LINQ.
For instance compare Fetch() which Query() which both appear to do th...
1
Solved
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...
db.Update(item, new[] { "status", "tracking_number", "updated_at" });
....
1
Solved
I have recently started diving into the new .net core along with asp.net core mvc. There have been several issues that I have come across but have been able to get most of them answered on my own. ...
Takashi asked 15/6, 2016 at 15:0
1
Given the following table in my database (PostgreSQL)
CREATE TABLE produkt (
id SERIAL NOT NULL,
name VARCHAR(50),
created_at TIMESTAMP WITHOUT TIME ZONE DEFAULT timezone('utc'::text, now())
);...
Fete asked 20/1, 2015 at 13:8
1
2
Solved
NPoco seems to be a DLL that implments more advanced features of PetaPoco. PetaPoco installs code generation templates and PetaPoco.cs. The Nuget version of PetaPoco is 4.0.3. I know there are vers...
1
Solved
I am trying to use Npoco but running into some problems with FetchOneToMany
I have a sql statement that joins 2 tables together and I output all the columns.
[TableName("TableA")]
[PrimaryKey("...
1
© 2022 - 2024 — McMap. All rights reserved.