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.