开发者

Type safe objectdatasources

开发者 https://www.devze.com 2023-02-06 20:01 出处:网络
Is there any way to make asp.net objectdatasources to be type safe. Meaning I get a compile time error if parameters or datatypes change during refactoring?

Is there any way to make asp.net objectdatasources to be type safe. Meaning I get a compile time error if parameters or datatypes change during refactoring?

Does 开发者_如何学编程anyone know any other method? Or can recommend any other way to do it? I find manual binding tedious. What is other people doing?

Thanks


No, all binding is with strings holding property/column names.

Maybe consider a Test project (Unit testing). That would be my answer to the last part.

0

精彩评论

暂无评论...
验证码 换一张
取 消