Hi,
While generating code in nettiers i wil get some Generated procedures For eg: gp_TableName_Insert,gp_TableName_update,gp_TableName_Get_List etc....
So that procedure carry some parameter which is in tht particular table....
But i need one extra parameter for all the Generated table in that Generated procedure other than table parameter......
means...
eg:
I have
tblStudent with
id,Name,Mark as fields so i wil get
gp_tblStudent _Insert with parameter
@id int output
@Name varchar(50)
@Mark float
But i need one more extra parameter as
@RecordValues Text
So can i specify this parameter any where before generating so tht after generation of layers, extra parameter wil be added to all generated procedures with the exsisting one
Thanks in Advance,
Regards,
Sarath
Hello,
The only way to accomplish would be to update the templates to generate this extra column.
Blake Niemyjski CodeSmith Tools, LLC. Software Development Engineer Blog: http://windowscoding.com/blogs/blake/ .NetTiers team | Visit http://www.nettiers.net
Ok then you suggest me where to update the changes in templates.
There really is no set guide for this. I'd recommend taking a look at this: community.codesmithtools.com/.../10372.aspx. One could take a look at how the mapping file works and see if you can add logic to create a column when the mapping configuration is parsed.