예제 #1
0
 internal void setProps(Array data, loginProps props)
 {
     props.UserId    = data.GetValue(0).ToString();
     props.FirstName = data.GetValue(1).ToString();
     props.LastName  = data.GetValue(2).ToString();
     // TO DO: build hashing from SHA2_512 in SQL to text in C#
 }
예제 #2
0
        // INSTANTIATE CLASS(ES)
        public void InstantiateObjects()
        {
            data = new loginData();
            ext  = new loginExt();
            //hash = new loginHash();
            helpers = new adminHelpers();

            // model objects
            props = new loginProps();
            tbl   = new loginDataObjects_tables();
            view  = new loginDataObjects_views();

            // data objects
            schema = new loginInitSchema();
        }