dazinator / CrmAdo

An ADO.NET Provider for Dynamics Crm
6 stars 4 forks source link

Implement ALTER TABLE support #19

Open dazinator opened 10 years ago

dazinator commented 10 years ago

Need to implement ALTER Table support so that alter statements can be used to alter entity metadata in crm - i.e adding, dropping, changing columns etc.

CREATE TABLE

To create a new Entity in CRM use the CREATE TABLE sql command. You must specify the primary key column (guid) and the name column - as all entities in CRM have must have these columns.

You cannot create the table with any additional columns due a limitation with the dynamics crm sdk. Instead you must first create the table, then use an ALTER statement to add in any additional columns that you want.

ALTER TABLE ADD COLUMN