View Single Post
  #6 (permalink)  
Old 05-05-2008, 08:49 AM
rjuyal's Avatar
rjuyal rjuyal is offline
Senior Member
 
Join Date: Mar 2008
Location: Delhi, India
Posts: 160
rjuyal is on a distinguished road
new approach!
i am moving to another approach, that seem to be better than previous.

Code:
public interface databasequery{ public interface Table1{ public interface Fields{ all fields here } public interface Query{ all query here } } public interface Table2{ public interface Fields{ all fields here } public interface Query{ all query here } } }

it is working as i expected:-

Code:
selectQuery = databasequery.Table1.Query.SELECT_QUERY;

do anyone is having better approach or should i stick to this one. Or please let me know if there is any flaw in this approach.
__________________
Newton said Gravitaion, Rakesh says Earth Sucks
Reply With Quote