I have class A which stores ref to object B in BObject variable.
public class A
{
public B BObject;
}
I want to get BObject ( name of variable ) in B class constructor.
Is there any way to do this ?
Purpose of doing it: I want to create ODBCFramework and I want to get Table Name based on Variable Name. ( Like in EntityFramework Context )
Update: I want to handle it in C#5.
Aucun commentaire:
Enregistrer un commentaire