问题描述:

I'm using Microsoft.SqlServer.Management.Smo.column for creating a SQL server table.

This is the MSDN page for the column class https://msdn.microsoft.com/en-us/library/microsoft.sqlserver.management.smo.column.aspx.

System.data.dtatable.column has a property ReadOnly. But I'm unable to find a way to make Microsoft.SqlServer.Management.Smo.column read only.

I can't use SQL scripts in this project.

Is there a workaround to achieve this?

相关阅读:
Top