Пример #1
0
        public void ParseData(Schema schema, IJsonSerializer serializer)
        {
            data = DataByIds.FromMongoModel(schema, ReferencedIdsDeleted, serializer);

            if (DataDraftByIds != null)
            {
                dataDraft = DataDraftByIds.FromMongoModel(schema, ReferencedIdsDeleted, serializer);
            }
        }
Пример #2
0
        public void ParseData(Schema schema)
        {
            data = DataByIds.FromMongoModel(schema, ReferencedIdsDeleted);

            if (DataDraftByIds != null)
            {
                dataDraft = DataDraftByIds.FromMongoModel(schema, ReferencedIdsDeleted);
            }
        }
Пример #3
0
        public void ParseData(Schema schema, IJsonSerializer serializer)
        {
            if (DataByIds != null)
            {
                data = DataByIds.FromMongoModel(schema, serializer);
            }

            if (DataDraftByIds != null)
            {
                dataDraft = DataDraftByIds.FromMongoModel(schema, serializer);
            }
        }