//this constructor is used only for DBm_Image and DBm_Document table trees public Column(Column c,SQLTable DBm_owner_Table,List<SQLTable> lTable) { obj = SetObject(c.obj); nulltype = c.nulltype; Style = c.Style; flags = c.flags; IsIdentity = c.IsIdentity; ownerTable = c.ownerTable; Name = c.Name; // Value = c.Value; //SetType = c.SetType; if (c.fKey != null) { fKey = new ForeignKey(c.fKey, DBm_owner_Table, lTable); } Name_in_language = c.Name_in_language; //Name_in_language = new ltext(); //int iCount = c.Name_in_language.sText.Length; //for (int i = 0; i < iCount;i++) //{ // Name_in_language.sText(i) = c.Name_in_language.sText(i); //} }
public Column(SQLTable owner,Object xObj, nullTYPE xType, Flags xflags, eStyle styl, ltext Name_in_lang) { Style = styl; fKey = null; obj = xObj; nulltype = xType; flags = xflags; // int i = 0; int iCount = Name_in_lang.sText_Length; this.ownerTable = owner; Name = StaticLib.Func.GetNameFromObjectType(obj); if (obj.GetType() == typeof(ID)) { IsIdentity = true; } Name_in_language = Name_in_lang; //Name_in_language = new ltext(); //for (i = 0; i < iCount; i++) //{ // Name_in_language.sText(i)=Name_in_lang.sText(i); //} }