public IFieldValueProvider CreateMainObjectProvider(string tableName)
        {
            BaseObjectModel model = Model.Convert <BaseObjectModel>();

            return(new ObjectContainerFieldValueProvider(model.Object,
                                                         fSrcModel == null ? null : fSrcModel.CodeTables));
        }
        protected ObjectContainerEditModel(BaseObjectModel model)
            : base(model)
        {
            PageInfo info = model.CallerInfo.Info;

            PageStyle = info.Style.ToString();
            RetUrl    = GetDynamicRetUrl(model.CallerInfo);
        }