// GetMappedName internal static string GetMappedName(Type type, Command command) { return(DataEntityMapper.For(type)?.Get(command)?.Name ?? type.GetTypeInfo().GetCustomAttribute <MapAttribute>()?.Name ?? type.Name); }
// GetCommandType internal static CommandType GetCommandType(Type type, Command command) { return(DataEntityMapper.For(type)?.Get(command)?.CommandType ?? CommandType.Text); }