Exemplo n.º 1
0
        /// <summary>
        /// Public constructor with required data
        /// </summary>
        /// <param name="_detail0"></param>
        protected BaseClass(global::Sandbox_EF6.Detail _detail0)
        {
            if (_detail0 == null)
            {
                throw new ArgumentNullException(nameof(_detail0));
            }
            _detail0.BaseClasses.Add(this);

            Init();
        }
Exemplo n.º 2
0
        /// <summary>
        /// Public constructor with required data
        /// </summary>
        /// <param name="_detail0"></param>
        public Master(global::Sandbox_EF6.Detail _detail0)
        {
            if (_detail0 == null)
            {
                throw new ArgumentNullException(nameof(_detail0));
            }
            _detail0.BaseClasses.Add(this);

            this.Details = new System.Collections.Generic.HashSet <global::Sandbox_EF6.Detail>();
            Init();
        }
Exemplo n.º 3
0
 /// <summary>
 /// Static create function (for use in LINQ queries, etc.)
 /// </summary>
 /// <param name="_detail0"></param>
 public static Master Create(global::Sandbox_EF6.Detail _detail0)
 {
     return(new Master(_detail0));
 }
Exemplo n.º 4
0
 /// <summary>
 /// Static create function (for use in LINQ queries, etc.)
 /// </summary>
 /// <param name="_detail0"></param>
 public static Detail Create(global::Sandbox_EF6.Detail _detail0)
 {
     return(new Detail(_detail0));
 }