generate code only without mapping to storage

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
Q.X
Posts: 20
Joined: Mon 24 Sep 2012 09:19

generate code only without mapping to storage

Post by Q.X » Wed 27 Sep 2017 14:01

I want a filed in entity to generate code only , not mapping to the storage db,
may I do this?

Shalex
Site Admin
Posts: 8245
Joined: Thu 14 Aug 2008 12:44

Re: generate code only without mapping to storage

Post by Shalex » Thu 28 Sep 2017 09:44

Please set Generate Partial Class=True in properties of your template in the model. Then implement a new property in a partial class manually.

Q.X
Posts: 20
Joined: Mon 24 Sep 2012 09:19

Re: generate code only without mapping to storage

Post by Q.X » Thu 28 Sep 2017 12:35

Shalex wrote:Please set Generate Partial Class=True in properties of your template in the model. Then implement a new property in a partial class manually.
but I want the filed could be found in the model designer...
I want the feature that not to generate the csdl,msdl,ssdl,msl.., generate .net code only and shown on the designer too.

Shalex
Site Admin
Posts: 8245
Joined: Thu 14 Aug 2008 12:44

Re: generate code only without mapping to storage

Post by Shalex » Fri 29 Sep 2017 15:50


Post Reply