/// <summary> /// 生成静态分库的id /// </summary> /// <returns></returns> public long GeneralId() { return(IdentityGenerator.NextId()); }
public long GeneralId <TEntity>(IDynamicRouter router) { return(IdentityGenerator.NextId(GetDynamicDbConfig(typeof(TEntity), router).Number)); }
public long GerneralId(short number) { return(IdentityGenerator.NextId(number)); }