Beispiel #1
0
        /// <summary>
        /// Gets the valid entity of type T
        /// </summary>
        /// <param name="counter">The counter.</param>
        /// <returns>A valid entity of type T</returns>
        protected override Attachment GetValid(int?counter)
        {
            var rtValue = CreateValidEntities.Attachment(counter);

            rtValue.User = UserRepository.Queryable.Single(a => a.Id == "2");
            return(rtValue);
        }