17 lines
369 B
C#
17 lines
369 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Yi.Framework.Infrastructure.Helper
|
|
{
|
|
public static class IdHelper
|
|
{
|
|
public static dynamic[] ToDynamicArray(this IEnumerable<long> ids)
|
|
{
|
|
return ids.Select(id => (dynamic)id).ToArray();
|
|
}
|
|
}
|
|
}
|