Giter VIP home page Giter VIP logo

dapper.compose's People

Contributors

naasking avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

marked23 bubdm

dapper.compose's Issues

The type 'IDbConnection' is defined in an assembly that is not referenced.

Hi again!

I get this error when I try to use query.Execute. I assume that you should have dependency on System.Data.Common.

Error CS0012 The type 'IDbConnection' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data.Common, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.

Index out of bounds exception if you have sql code with just one char in one line.

INSERT INTO [WS].[ProductChannelProperty] (
ProductIntegrationKey,
ChannelIntegrationKey
VALUES(
@ProductIntegrationKey,
@ChannelIntegrationKey
)

This sql code will give a "index out of bounds" exception in Query.Load when you read the last line with ")" and try to check if it's a comment looking for "--" (looking at line[1] which don't exists)

1.0.0-RC5 cannot be added to .Net Framework 4.5.2 project

It's worth noting that 1.0.0-RC1 installs successfully.

Repro steps

  1. Open VS2017
  2. Create new MVC Project using .NET Framework 4.5.2

image

  1. Use MVC Template:

image

  1. Install Dapper via Install-Package Dapper (works fine)

image

  1. Install Dapper.Compose via install-package Dapper.Compose -pre
    (fails with error install-package : Could not install package 'Dapper.Compose 1.0.0-RC5'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5.2', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.)

image

Workaround

Use Install-Package Dapper.Compose -pre -Version 1.0.0-RC1

image

Thank you for your time,
Chris

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.