micro-orm Questions
13
Solved
I am coming from PetaPoco camp. PetaPoco has a T4 template which generates model from the database. Is anything similar available for Dapper?
I installed Dapper using NuGet and added SqlHelper.cs...
Gwenny asked 15/6, 2012 at 18:18
2
I know there are multiple ORMs for python, but I like the idea of Dapper - a simple object mapper.
I googled but can't find any Dapper like ORM for python.
Is there any existing dapper like micro...
3
Solved
I have the following table, abridged:
CREATE TABLE [dbo].[TERMINAL] (
[TERM_CODEID] SMALLINT NOT NULL,
[TERM_ACTIVE] SMALLINT NOT NULL,
[TERM_NAME] VARCHAR (30) NOT NULL,
[TERM_SLA] CHAR (8) N...
2
Solved
I started looking into Dapper just recently. I'm testing it out and was able to do basic CRUD and what I meant by basic is that working on a class with this structure:
public class Product {
publ...
Pyrography asked 29/3, 2013 at 17:26
1
Please mention the difference between (big) ORM and micro ORM. What are the advantages of micro ORM over big ORM. For eg. the difference between entity framework ORM and dapper micro ORM.
Zedekiah asked 16/1, 2018 at 10:12
4
Solved
Let's say I have this User class:
public class User
{
public int ID { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Email { get; set; }
...
2
I have a Customer class with the following properties:
public int Id { get; set; }
public string Name { get; set; }
public int AddressId { get; set; }
public Address Address { get; set; }
My goa...
1
Solved
I have a product class and tried to evaluate Dapper with Access database.. Select, Delete and Insert operations are working fine, but I have a problem with update operation. It is working in one wa...
1
Solved
We decided to use a micro-orm against an Azure Database. As our business only needs "inserts" and "selects", we decided to suppress all code-managed SqlTransaction (no concurrency issues on data).
...
Youngyoungblood asked 5/2, 2016 at 18:51
4
Solved
I have seen examples where someone is doing:
IDbConnection db = new MySqlConnection(conn);
var people = db.Query<People>("SELECT * FROM PEOPLE").ToList();
or is the above a bad practice a...
2
Solved
I have recently started using Dapper, everything seems nice and easy but there is one thing that keeps confusing me: Connection Management.
As per the documentation:
Dapper does not manage your...
1
Solved
I've found some related questions, but the author gave up and went ahead with using stored procedures to do the 'mapping'.
This is actually a continuation question from here
Model
public class S...
Renaterenato asked 25/6, 2014 at 10:0
1
Solved
I've created the model using System.Data.Entity.Spatial;
public class Store
{
public int Id { get; private set; }
public string Name { get; set; }
public string Address { get; set; }
public Db...
Kobold asked 25/6, 2014 at 7:15
3
Solved
Currently there exists an async branch of ServiceStack which will make it possible to create async services. But to get all benefits of async, all IO bound operations should be async and therefore ...
Gilford asked 9/9, 2012 at 12:20
1
Solved
My work recently starting using PetaPoco and although fantastic I missed the feature from Dapper which allowed multiple result grids from a single query to be processed into pocos.
As a result I w...
1
© 2022 - 2024 — McMap. All rights reserved.