Giter VIP home page Giter VIP logo

elmah.sqlserver.efinitializer's People

Contributors

jamiehumphries avatar theyo avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

elmah.sqlserver.efinitializer's Issues

Add support for NET4.0 to the nuget package

Hello.
Entity framework 6.x nuget package support for NET4.0 and NET 4.5, but EFInitializer has NET 4.5 only.
We can't use it in NET 4.0 project without reference upgrade.

I think, that your initializer will work fine under NET 4.0 framework, so net45 subfolder is useless.

Doesn't initialise

Sorry to be a bit thick but this doesn't work as you described.

I installed the package, then I use my existing code first connection string.

<add name="MyDbContext" connectionString="Data Source=.\SQLEXPRESS; Initial Catalog=Databse; Integrated Security=True;Connect Timeout=300;Encrypt=false;Trusted_Connection=true;MultipleActiveResultSets=True;" providerName="System.Data.SqlClient" />
  <elmah>
    <errorLog type="Elmah.SqlErrorLog, Elmah" connectionStringName="MyDbContext" />
  </elmah>

and when I go to /elmah

Could not find stored procedure 'ELMAH_GetErrorsXml'.

? Nothing is created in the database.

I delete the database and when I re run it EF creates my models but still the same error.

What am I missing?

Allow changing Elmah table name

We are moving away from manually running the scripts, to using this nuget package, but we would like to name our Elmah table "ErrorLog" instead of "ELMAH_Error", is that possible somehow?

Methods for running stored procedures

Hi, Jamie.

Thanks for this library. I wonder if I can add a couple of methods to directly call stored procedures within the ElmahContext object or not, such as GetErrorXml or LogError. If you don't mind, I'd like send a pull request to you for review.

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.