public static AbstractImporter <Env, Key <T> > constFirstPushKeyImporter <T>(T t) { return(simpleImporter <Key <T> >( (Env env, Action <Key <T>, bool> pub) => { pub(InfraUtils.keyify <T>(t), true); } )); }
public IList <AppUsersDto> FetchLogonUser(string userName, string pwd) { LogOuts.Debug("user:"******" login system"); string sqlId = GetLogonSqlId(); AppUsersQuery parameter = new AppUsersQuery(); parameter.LogOnName = userName; parameter.LocalPassword = InfraUtils.Encrypt(pwd); return(DataMapper.QueryForList <AppUsersDto>(sqlId, parameter)); }
public void trigger() { publish(InfraUtils.pureTimedDataWithEnvironment(env, t, false)); }
private void run() { generator(env, (T t, bool finalFlag) => { publish(InfraUtils.pureTimedDataWithEnvironment <Env, T>(env, t, finalFlag)); }); }