internal static IEnumerable <MemberInfo> GetKeyColumnsForType(this IReflect sourceType)
 {
     return(sourceType.GetAllColumnsForType().Where(p => p.CustomAttributes.Any(a => a.AttributeType.Name == "KeyAttribute")));
 }