Example #1
0
        private string GetKeyDateStrFromODataBase()
        {
            LockKeyManager MyLockKeyManager = new LockKeyManager();
            //LockKey AnyLockKey = new LockKey();
            //AnyLockKey.LockID = this.MyLockIDStr;
            //AnyLockKey..OwerName = this.NameIDStr;
            //AnyLockKey.KeyDateStr = this.DateTimeStr;
            LockKey AnyLockKey = MyLockKeyManager.FindOneLockKey(this.MyLockIDStr, int.Parse(KeyNumberIDStr));

            if (AnyLockKey != null)
            {
                return(MyLockKeyManager.FindOneLockKey(this.MyLockIDStr, int.Parse(KeyNumberIDStr)).KeyDateStr);
            }
            else
            {
                return(null);
            }
        }