コード例 #1
0
        protected void Save <TRealm>(IEntityBase entity)
            where TRealm : Realms.RealmObject, IEntityBase
        {
            var realmEntity = _mappingEngine.Map <TRealm>(entity);

            _repository.AddOrUpdate <TRealm>(realmEntity);
        }