Click here to Skip to main content
15,913,722 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello Friends,

Recently I started using .NetTiers and CodeSmith. I found it good and fast. I am able to generate code in some seconds and it is really easy to use. I am facing an issue with creating custom properties and methods into the layers. If some of you have a good hand on .NetTiers and CodeSmith, then please let me know how I can create custom properties and methods and use them. I am able to create custom properties but they are not available at the time when I call them.

Please guide.

Thanks in advance.

Regards,
Jagjot
Posted
Comments
Vivek Krishnamurthy 1-Jul-11 16:42pm    
Did you try asking this in the forums of .nettiers ?

1 solution

I fixed it. Actually I was not adding some attributes on top of the properties thats why they were not visible to component layer. Below are the attributes:

[XmlElement(IsNullable = true)]
[DescriptionAttribute(""), BindableAttribute()]
[DataObjectField(false, false, true, 200)]



Thanks,
Jagjot
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900