This project is read-only.

T4 template to generate views.

If you are using:

  1. EF 5.0.
  2. Database First or Model First approach.
  3. And .NET 4.5

This project is for you. It contains a single T4 file which is a clone of ASP.NET Web Forms Application Using Entity Framework 4.0 Database First. The T4 template also contains fixes to work with .NET 4.5  regarding the following error:

Running transformation: System.ArgumentException: Argument 'xmlReaders' is not valid.  The set contains a null value.
   at System.Data.EntityUtil.CheckArgumentContainsNull[T](IEnumerable`1& enumerableArgument, String argumentName)
   at System.Data.Metadata.Edm.EdmItemCollection..ctor(IEnumerable`1 xmlReaders)
   at Microsoft.VisualStudio.TextTemplatingAED4E591A16DD045E483CD58B20DB126.GeneratedTextTransformation.GenerateViews(String edmxFilePath)

 

View

 


Additional works are published on my blog http://believeblog.azurewebsites.net/

Last edited Jun 1, 2014 at 2:37 PM by Believe2014, version 20