Tech-IS Home   Forum Home   Search   Login   Register  
OxyGen Code  > Code generator settings  > Method Attributes to Select, Insert, Delete and Update  
 
Display using:  
Previous Thread :: Next Thread 
 Author Thread: Method Attributes to Select, Insert, Delete and Update
josephlau is not online. Last active: 2/27/2010 3:05:23 AM josephlau
Top 25 Poster
Joined: 11 Sep 2009
Total Posts: 5
 
Method Attributes to Select, Insert, Delete and Update
Posted: 05 Feb 2010 02:49 AM
I wonder if there is way that I can insert Select, Insert, Delete and Update attribute such as below

[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Select, true)]

[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Insert, true)]

[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Delete, true)]

[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Update, true)]
Arinze is not online. Last active: 6/6/2014 1:59:48 PM Arinze
Top 25 Poster
Forum Moderator
Joined: 02 Feb 2008
Total Posts: 165
 
Re: Method Attributes to Select, Insert, Delete and Update
Posted: 08 Feb 2010 11:20 AM
DataObjectMethodType attributes are automatically inserted into the code if there's an inheritance heirarchy.

During Project configuration, under the "ASP.NET UI" tab, make sure that the "Create data source facade classes" are checked.

The Facade classes disambiguates the methods derived from the inheritance hierarchy.

OxyGen Code Generator, the Architected RAD Tool for .NET
Previous Thread :: Next Thread 
Page 1 of 1
 
Tech-IS Forums  > OxyGen Code  > Code generator settings  > Method Attributes to Select, Insert, Delete and Update