Beispiel #1
0
        public GameData()
        {
            MongoConnection mongo = new MongoConnection();

            this.db = mongo.MongoDBase;
        }//constructor
Beispiel #2
0
 public static TDataType Read <TDataType>(MongoConnection connection, string id)
     where TDataType : AbstractData
 {
     return(Read <TDataType>(connection, ObjectId.Parse(id)));
 }
        public AdministratorData()
        {
            MongoConnection mongo = new MongoConnection();

            this.mongoDataB = mongo.MongoDBase;
        }//constructor vacio