Beispiel #1
0
            public void Apply(BsonClassMap classMap)
            {
                var idMember = DataPropertyHelper.GetIdMember(classMap.ClassType);

                if (idMember != null)
                {
                    classMap.MapIdMember(idMember);
                }
            }
 private static MemberInfo GetIdMember(Type entityType)
 {
     return(DataPropertyHelper.GetIdMember(entityType));
 }