C# Class SiaqodbCloudService.Repository.MongoDB.Mapper

显示文件 Open project: Dotissi/SiaqodbCloud-Service

Public Methods

Method Description
ToBsonDoc ( SiaqodbDocument cobj ) : BsonDocument
ToSiaqodbDocument ( BsonDocument doc ) : SiaqodbDocument

Method Details

ToBsonDoc() public static method

public static ToBsonDoc ( SiaqodbDocument cobj ) : BsonDocument
cobj SiaqodbCloudService.Models.SiaqodbDocument
return BsonDocument

ToSiaqodbDocument() public static method

public static ToSiaqodbDocument ( BsonDocument doc ) : SiaqodbDocument
doc BsonDocument
return SiaqodbCloudService.Models.SiaqodbDocument