public Id(KeyManyToOneKeyEntity key1, string key2)
            {
                if (key1 == null)
                {
                    throw new ArgumentNullException("key1");
                }
                if (key2 == null)
                {
                    throw new ArgumentNullException("key2");
                }

                this.key1 = key1;
                this.key2 = key2;
            }
			public Id(KeyManyToOneKeyEntity key1, string key2)
			{
				if (key1 == null)
				{
					throw new ArgumentNullException("key1");
				}
				if (key2 == null)
				{
					throw new ArgumentNullException("key2");
				}

				this.key1 = key1;
				this.key2 = key2;

			}