Ejemplo n.º 1
0
        /// <summary>
        /// Public constructor with required data
        /// </summary>
        /// <param name="_uchildrequired"></param>
        public UParentCollection(Testing_CoreV2NetCore.UChild _uchildrequired)
        {
            if (_uchildrequired == null)
            {
                throw new ArgumentNullException(nameof(_uchildrequired));
            }
            UChildRequired = _uchildrequired;

            Init();
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Public constructor with required data
        /// </summary>
        /// <param name="_uchildrequired"></param>
        public UParentOptional(Testing_CoreV2NetCore.UChild _uchildrequired)
        {
            if (_uchildrequired == null)
            {
                throw new ArgumentNullException(nameof(_uchildrequired));
            }
            UChildRequired = _uchildrequired;

            UChildCollection = new HashSet <Testing_CoreV2NetCore.UChild>();
            Init();
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Static create function (for use in LINQ queries, etc.)
 /// </summary>
 /// <param name="_uchildrequired"></param>
 public static UParentRequired Create(Testing_CoreV2NetCore.UChild _uchildrequired)
 {
     return(new UParentRequired(_uchildrequired));
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Static create function (for use in LINQ queries, etc.)
 /// </summary>
 /// <param name="_uchildrequired"></param>
 public static UParentCollection Create(Testing_CoreV2NetCore.UChild _uchildrequired)
 {
     return(new UParentCollection(_uchildrequired));
 }