예제 #1
0
		public void UpdateCharacter (Character character) 
		{
			lock (locker) {
				if (character.Id != 0) {
					_sqlconnection.Update (character);
					//return people.Id;
				} else {
					//return people.Id;
				}
			}
		}
예제 #2
0
		//Add new People to DB
		public void AddCharacter(Character character)
		{
			_sqlconnection.Insert(character);
		}