Ejemplo n.º 1
0
        public virtual string GetPrimaryKeyNameForType(Type objectType, Type mappingAttributesType)
        {
            MappingContext mappingContext = MappingContext.GetMappingContext(objectType, mappingAttributesType);

            return(mappingContext.GetPrimaryKeyNameForType(objectType));
        }
Ejemplo n.º 2
0
        public string GetPrimaryKeyNameForType(Type objectType)
        {
            MappingContext mappingContext = MappingContext.GetMappingContext(objectType);

            return(mappingContext.GetPrimaryKeyNameForType(objectType));
        }