public static void GetMemberPhoneStep( IMeetingTeam meetingteam, out System.String result)
 {
     // TODO: Complete business rule implementation
     using (ISession session = new SessionScopeWrapper())
     {
         string sql = "select phone from userinfo where userid='"+ meetingteam.UserID.ToString()+"'";
      		    result=session.CreateSQLQuery(sql).UniqueResult<string>();
     }
 }
 public static void OnAfterInsertStep( IMeetingTeam meetingteam)
 {
     // TODO: Complete business rule implementation
     Sage.Entity.Interfaces.IUserInfo useri = Sage.Platform.EntityFactory.GetRepository<Sage.Entity.Interfaces.IUserInfo>().FindFirstByProperty("Id", meetingteam.UserID.ToString());
     Sage.Entity.Interfaces.IAddress address = Sage.Platform.EntityFactory.GetRepository<Sage.Entity.Interfaces.IAddress>().FindFirstByProperty("Id", useri.AddressId.ToString());
     string add1 = address.City.ToString()+","+address.State.ToString();
     meetingteam.Division =  add1;
     meetingteam.Save();
 }