Page 1 of 1

generate code only without mapping to storage

Posted: Wed 27 Sep 2017 14:01
by Q.X
I want a filed in entity to generate code only , not mapping to the storage db,
may I do this?

Re: generate code only without mapping to storage

Posted: Thu 28 Sep 2017 09:44
by Shalex
Please set Generate Partial Class=True in properties of your template in the model. Then implement a new property in a partial class manually.

Re: generate code only without mapping to storage

Posted: Thu 28 Sep 2017 12:35
by Q.X
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.

Re: generate code only without mapping to storage

Posted: Fri 29 Sep 2017 15:50
by Shalex