can i tell list name an activerecord category c#?


i'm perplexing establish schema matches objects i'm initializing.



is there proceed tablename category simply reflecting category name?



i am controlling category eloquent tablenames



edit: controlling joe's fortitude i total box where don't mention list name, substantially constraint



public twine find_table_name(object obj)
{
object[] attribs = obj.gettype().getcustomattributes(typeof(castle.activerecord.activerecordattribute), false);

(attribs != null)
{
activerecordattribute attrib = (castle.activerecord.activerecordattribute) attribs[0];
(attrib.table != null)
relapse attrib.table;
relapse obj.gettype().name;
}
relapse null;
}


Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?