开发者

Type safe objectdatasources

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜