MetaData and length Property - is it used?



I am using Mediachase APIs to create metafields for purchaseorders. They are defined as type LongString and length 16.

MetaField.Create(MetaDataContext.DefaultCurrent, "Mediachase.Commerce.Orders.System", "DeliveryMethod",
                                              "Leveranssätt", string.Empty, MetaDataType.LongString, 16, true, false, false, false, false);

This creates columns in table OrderGroup_PurchaseOrder of type "ntext".


My question is - is the Length property ever used? Have done some tests and tried reading/writing properties with 200 characters in fields defined as Length 16 and it seems to work fine. My guess is that is not used for LongString properties but cannot find any documentation to verify this.

Thanks for your input :-)
/ Markus

May 13, 2013 13:17
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.