Create Entity Framework Without t4 code generator (like vs 2010)

Viewed 1506

I want to create an Entity Framework Model based on database using VS 2015.

There is some problem:

1) When I want to create model I get this warning:

enter image description here

2) When I create mode some file being generate like T4.

enter image description here

3) Generated class hasn't Data Annotations like :

[EdmEntityTypeAttribute(NamespaceName="SomeModel", Name="tblCode1")]
[Serializable()]
[DataContractAttribute(IsReference=true)]

4) In our group there are some people that have VS 2013 or 2010 that they can't use this type of models.

How I can create model using VS 2015 like VS 2010 or 2013 without T4 (Just 2 files like below)

enter image description here

2 Answers
Related