Exemple #1
0
        public void ParseData(Schema schema, IJsonSerializer serializer)
        {
            data = DataByIds.FromMongoModel(schema, ReferencedIdsDeleted, serializer);

            if (DataDraftByIds != null)
            {
                dataDraft = DataDraftByIds.FromMongoModel(schema, ReferencedIdsDeleted, serializer);
            }
        }
Exemple #2
0
        public void ParseData(Schema schema)
        {
            data = DataByIds.ToData(schema, ReferencedIdsDeleted);

            if (DataDraftByIds != null)
            {
                dataDraft = DataDraftByIds.ToData(schema, ReferencedIdsDeleted);
            }
        }
Exemple #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);
            }
        }
 public void ParseData(Schema schema)
 {
     data = DataByIds.ToData(schema, ReferencedIdsDeleted);
 }
 public void ParseData(Schema schema, IJsonSerializer serializer)
 {
     data = DataByIds.FromMongoModel(schema, serializer);
 }