コード例 #1
0
		public async Task DeleteLocationAsync(Location theLocation)
		{
			await ConnectionAsync.DeleteAsync(theLocation.ToDTO());
		}
コード例 #2
0
		public async Task UpdateLocationAsync(Location theLocation)
		{
			await ConnectionAsync.UpdateAsync(theLocation.ToDTO());
		}
コード例 #3
0
		public void UpdateLocation(Location theLocation)
		{
			Connection.Update(theLocation.ToDTO());
		}
コード例 #4
0
		public async Task<int> AddLocationAsync(Location theLocation)
		{
			return await ConnectionAsync.InsertAsync(theLocation.ToDTO());
		}
コード例 #5
0
		public int AddLocation(Location theLocation)
		{
			return Connection.Insert(theLocation.ToDTO());
		}