This regarding XSD wrinting which creates a CDT and inturn creates a table in db

This regarding XSD wrinting which creates a CDT and inturn creates a table in db

With annotation

columnDefinition="NVARCHAR(100) NOT NULL"

its creating a script [ABN] NVARCHAR(100) NOT NULL null

as not null repeating its giving an error

An error occurred while trying to modify the data source schema: Multiple NULL constraints were specified for column 'ClientName', table 'client'. (APNX-1-4178-000)


So if I remove NOT NULL in NVARCHAR(100) NOT NULL its working with out error but with NULL constraint in db definition. (I want the field to be NOT NULL in the DB.)

Please let me know how can i solve this....

OriginalPostID-77405

OriginalPostID-77405

  Discussion posts and replies are publicly visible