I am using codegen:NullValue="_empty" in annotating the dataset so that null
values in the database are represented as empty string, thereby getting rid
of null exceptions.
I was wondering if anyone knows if I can do that just for the entire table
(element) or if this annotation must be specified by each column? Can
anyone tell me if this has worked for them in a good manner, or is it better
to do it on the database side. Any help is greatly appreciated. Thank you
in advance.

Re: Codegen nullValue Question by Kathleen

Kathleen
Mon Dec 22 22:36:28 CST 2003

You're annotating an XSD. You could break into the XSD programmitically and
make the broader change. It is probalby easier to do it by hand for each
column unless you have a large number of columns.

Kathleen

"msnews.news.com" <pkrasucki@microsoft.com> wrote in message
news:ukXxR8zxDHA.1060@TK2MSFTNGP12.phx.gbl...
> I am using codegen:NullValue="_empty" in annotating the dataset so that
null
> values in the database are represented as empty string, thereby getting
rid
> of null exceptions.
> I was wondering if anyone knows if I can do that just for the entire table
> (element) or if this annotation must be specified by each column? Can
> anyone tell me if this has worked for them in a good manner, or is it
better
> to do it on the database side. Any help is greatly appreciated. Thank
you
> in advance.
>
>



Re: Codegen nullValue Question by msnews

msnews
Tue Dec 23 18:18:41 CST 2003

yes it is easier to do it just for each column. That's easy enough. Thank
you for the post.



"Kathleen Dollard" <Kathleen@mvps.org> wrote in message
news:essYS5QyDHA.2148@TK2MSFTNGP12.phx.gbl...
> You're annotating an XSD. You could break into the XSD programmitically
and
> make the broader change. It is probalby easier to do it by hand for each
> column unless you have a large number of columns.
>
> Kathleen
>
> "msnews.news.com" <pkrasucki@microsoft.com> wrote in message
> news:ukXxR8zxDHA.1060@TK2MSFTNGP12.phx.gbl...
> > I am using codegen:NullValue="_empty" in annotating the dataset so that
> null
> > values in the database are represented as empty string, thereby getting
> rid
> > of null exceptions.
> > I was wondering if anyone knows if I can do that just for the entire
table
> > (element) or if this annotation must be specified by each column? Can
> > anyone tell me if this has worked for them in a good manner, or is it
> better
> > to do it on the database side. Any help is greatly appreciated. Thank
> you
> > in advance.
> >
> >
>
>