public override void CreateEntities(PxMetaModel.PcAxisMetabaseEntities context)
        {
            if (IsNew)
            {
                base.CreateEntities(context);

                PxMetaModel.FootnoteMainTable footnoteMainTable = new PxMetaModel.FootnoteMainTable();

                footnoteMainTable.MainTable = MainTable.TableId;

                footnoteMainTable.FootnoteNo = FootnoteNo;

                footnoteMainTable.UserId = System.Security.Principal.WindowsIdentity.GetCurrent().Name;
                footnoteMainTable.LogDate = DateTime.Now;

                context.AddToFootnoteMainTables(footnoteMainTable);
            }

            else
            {
                base.UpdateEntities(context);
            }
        }