wpf - What type of c# project should an SSDT model be placed in? -


sorry if totally noob question can't seem find starting point on this.

from i've gathered far ssdt developed idea used in different project that of main app database related coding. figured instead of complaining how old version back, i'd try things way , see how goes can't seem handle on begin on here.

basically want use code first approach , create database designer. if i'm going create new project handle entity framework, type of project should be? c# class library, wpf.. else?

i'm not sure if it's of relavance app i'm working on wpf app , database mysql.

if want use code-first approach, means database generated code. thus, not have separate database-project, since mean database kept in 2 places. therefore, options are:

  1. use code-first. means class library (although asp.net mvc has context entities in asp.net mvc project, let's call exception rule). class library contain classes database generated.
  2. use database project, ssdt project. database defined here, , when deploy project database generated/updated.

note: afaik ssdt project specific sql server, since using mysql database not option.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -