GithubHelp home page GithubHelp logo

psychomatrix's People

Contributors

verbon avatar uladzislaunarutsky avatar

Watchers

 avatar Lesha avatar

psychomatrix's Issues

EF applies reduntant code-first migrations.

Steps to reproduce:

  1. Run PythogorasSquare.Web.API project.
  2. Make a call to 'rest/pythogoras/psychoMatrix/{year}/{month}/{day}' with any date.
  3. Get some JSON as a result, it works fine at this moment.

4.1.1) Stop project.
4.1.2) Open Server Explorer in VS.
4.1.3) Connect to newly created DB.
4.1.4) Click 'Show table data' on any created table.
4.1.5) Close connection to DB and run PythogorasSquare.Web.API project again.
4.1.6) Make a call to 'rest/pythogoras/psychoMatrix/{year}/{month}/{day}' with any date.
4.1.7) See it responses with an exception on trying to insert a new row with a duplicate value ("IX_QualityAssociatedDigit").

4.2.1) Stop project.
4.2.2) Make some changes to the project: create empty class, for example, in any assembly of the solution, but not in the DomainModel.
4.2.3) Rebuild solution.
4.2.4) Run PythogorasSquare.Web.API project again.
4.2.5) Make a call to 'rest/pythogoras/psychoMatrix/{year}/{month}/{day}' with any date.
4.2.6) See it responses with an exception on trying to insert a new row with a duplicate value ("IX_QualityAssociatedDigit").

4.3.1) Detach debug.
4.3.2) Stop IIS using Task Manager and 'End Task' command.
4.3.3) Run PythogorasSquare.Web.API project again.
4.3.4) Make a call to 'rest/pythogoras/psychoMatrix/{year}/{month}/{day}' with any date.
4.3.5) See it responses with an exception on trying to insert a new row with a duplicate value ("IX_QualityAssociatedDigit").

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.