예제 #1
0
        public virtual string GetPrimaryKeyNameForType(Type objectType, Type mappingAttributesType)
        {
            MappingContext mappingContext = MappingContext.GetMappingContext(objectType, mappingAttributesType);

            return(mappingContext.GetPrimaryKeyNameForType(objectType));
        }
예제 #2
0
        public string GetPrimaryKeyNameForType(Type objectType)
        {
            MappingContext mappingContext = MappingContext.GetMappingContext(objectType);

            return(mappingContext.GetPrimaryKeyNameForType(objectType));
        }