3

I am new to MVC4.0. I have a requirement details below mentioned.

Create Model using Telerik grid

Can somebody suggest any useful link for the same?

3
  • 1
    You're looking for a Code First approach. Create your models with their mapping and flush it trough Entity Framework. codefirst.codeplex.com Commented Sep 15, 2013 at 2:09
  • @JeroenVannevel +1. Thanks for the help. Can you please confirm if the point 3 and update DB from model. also suits the same link. I meant, using Model, can we update Database also ? Commented Sep 15, 2013 at 2:13
  • 1
    Yes, just use the Migrations tool. Add classes, execute Migrations and your database is updated. You can find an entire example here: msdn.microsoft.com/en-us/data/jj591621.aspx Commented Sep 15, 2013 at 2:16

1 Answer 1

3

You should use the Model First approach in EF.

Apart from EF there are also some third party software that addresses this problem. For example CodeFluent Entities.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.