public virtual string GetPrimaryKeyNameForType(Type objectType, Type mappingAttributesType) { MappingContext mappingContext = MappingContext.GetMappingContext(objectType, mappingAttributesType); return(mappingContext.GetPrimaryKeyNameForType(objectType)); }
public string GetPrimaryKeyNameForType(Type objectType) { MappingContext mappingContext = MappingContext.GetMappingContext(objectType); return(mappingContext.GetPrimaryKeyNameForType(objectType)); }