It's definitely possible, but you'll have to get into at least constructing expressions by hand, if not also reflection. Your way also loses some type (and typo! ) safety which is one of the big advantages of proper ORM While it's possible to get around this by using more expressions and generics, the question remains - why do you want to do this?
To be honest, these functions do not look like something I'd imagine using in practice.
It's definitely possible, but you'll have to get into at least constructing expressions by hand, if not also reflection. Your way also loses some type (and typo! ) safety which is one of the big advantages of proper ORM.
While it's possible to get around this by using more expressions and generics, the question remains - why do you want to do this? To be honest, these functions do not look like something I'd imagine using in practice.
Thank you very much for the respond. I still can't get the function work yet. I have multiple tables; one of these tables has table names and the name of the column name of the primary keys of the other tables and as more tables will be added to the database.My goal is to write the generic getter and setter given table names, column names and id as strings.
– user566552 Jun 28 at 20:29 I am very new to ADO. Net so please forgive me for my lack of experience. I also would like to know if my entity data model can update itself by creating entities as new tables are added to the schema.
Thank you very much. – user566552 Jun 28 at 20:32.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.