sql server - SQL/.NET TableAdapters - How do I strongly-type calculated columns in either the database or the DataSet? -
We use the calculated columns in some SQL Server 2005 tables, which are always a specific type of data (bit, behavior) (50), etc ...).
These tables are used by the dataset and table-adapter strongly typed by the NAT data layer, although the calculated columns are not limited to a specific type (we always type in a specific type , But we can return anything) .NET does not generate strongly typed columns.
Here are three questions: - The calculated columns generally check that the related records are specific values, or they use XPath to return a value from the respective XML document. Are the proper equipment columns calculated for them, or is there a better way to return the data of these related pieces?
-
My searches say, but is this firmly in the database itself of these types of columns?
-
Is there a workaround within Visual Studio Dataset Designer that will allow me to set the appropriate type and keep them in dataset / table adapters (Since the designer will ask the database to update the schema)?
Thank you!
In the questions used to return these values, whatever data type you want them to be , They can use the SQL CAST () function to insert them. I believe that Net Netstate should be identified and kept in that dataset.
Comments
Post a Comment