public static ModelEntityTable Init()
        {
            var tb       = new ModelEntityTable();
            var modelEnt = new ModelEntity(newID: true);

            modelEnt.AddToDocument(tb);
            return(tb);
        }
        public void AddToDocument(ModelEntityTable documentModelEntityTable)
        {
            var table = documentModelEntityTable;
            var exist = table.Keys.Any(_ => _ == this.ModelNameID);

            if (!exist)
            {
                table.Add(this.ModelNameID, this);
            }
            else
            {
                //TODO: maybe need to clear all child ids.
            }
        }