Coin163

首页 > Spring学习(十)spring mvc入门

Spring学习(十)spring mvc入门

相关标签: spring spring-mvc mvc

2020腾讯云双十一活动,全年最低!!!(领取3500元代金券),
地址https://cloud.tencent.com/act/cps/redirect?redirect=1073

2020阿里云最低价产品入口,含代金券(新老用户有优惠),
入口地址https://www.aliyun.com/minisite/goods

相关推荐:spring MVC入门示例(hello world demo)

1. Spring MVC介绍 Spring Web MVC是一种基于Java的实现了Web MVC设计模式的请求驱动类型的轻量级Web框架,即使用了MVC架构模式的思想,将web层进行职责解耦,基于请求驱动指的就是使用请求-响应模型,框架的目的就是帮助我们简化开发,Spring Web MVC也是要

up vote 2 down vote favorite We are currently using Entity Framework 6 (EF) Database First approach to generate and maintain our database model classes. I was hoping to use Sparx Enterprise Architect (EA) to maintain a SQL Server 2012 EE database design, and then EF Database First to "Update Model from Database" to maintain the EF model classes. Now that Microsoft has officially announced they will no longer maintain any EF design approach besides Code First, how can I work with Sparx EA to keep our Code First models up to date if I do some database redesign with EA? I know Sparx will go 2 way with the database itself, but that does not help with Code First after the first creation of the Code First model created from the database, as I can't keep importing the entire database into Code First or we would lose our Code First customizations. ef-code-first entity-framework-6 enterprise-architect share | improve this question asked Feb 6 '15 at 15:58 Dave 897 10 28 1

That's probably a good question, but should be addressed to the tool provider's support service. What you can get here are only shallow opinions of some end-users and if you're lucky some 3rd party Model-Driven-Generation provider may advertise their solution –

xmojmr Feb 6 '15 at 16:34 1

I did ask Sparx (I'm not yet a customer) and was told Entity Framework and Code First were totally irrelevant to Sparx Enterprise Architect but don't agree with that assessment. I'm hoping for some shallow opinions from someone actually using EA with Entity Framework. It makes sense to me that EA can be used with Database First, but then that is going away now...so I don't see much use for EA in the Code First scenario a

相关推荐:Spring MVC 入门

REST IOC spring 跟开涛学SpringMVC

2.1、Spring Web MVC是什么 Spring Web MVC是一种基于Java的实现了Web MVC设计模式的请求驱动类型的轻量级Web框架,即使用了MVC架构模式的思想,将web层进行职责解耦,基于请求驱动指的就是使用请求-响应模型,框架的目

nd would also love some verification on if that is true or not. –

Dave Feb 6 '15 at 20:02 1

To add my shallow opinion to the mass. I don't believe a ready made solution for your problem exists for Enterprise Architect. But EA is open enough to write your own transformation/add-in to accomplish what you need. –

Geert Bellekens Feb 7 '15 at 7:30 1

@xmojmr - not even close to a duplicate and not at all what I am asking. –

Dave Feb 7 '15 at 14:21 2

I have been down this path. Unfortunately, Code First works best if it it is the master repository of the logical structure. Similarly, Enterprise Architect works best if it is the master repository of the logical structure. After various version control problems, we ended up dropping the Code First step and generating everything from EA and using In-house tooling I'm afraid. –

Chris Reynolds Feb 12 '15 at 7:58

|

show 11 more comments 1 Answer 1 active oldest votes up vote 1 down vote I've tried EA with EF and decided to go with pure EF Code First. It is a lot easier since EA just doesn't work with EF at all well. Thanks for the suggestions. Chris, if you will post as an answer will be glad to mark it as such. You were right... share | improve this answer answered Mar 2 '16 at 2:29 Dave 897 10 28 add a comment

|

Your Answer

draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged ef-code-first entity-framework-6 enterprise-architect or ask your own question.

原文

up vote 2 down vote favorite We are currently using Entity Framework 6 (EF) Database First approach to generate and maintain our database model classes. I was hoping to use Sparx E

------分隔线----------------------------