Esempio n. 1
0
        /// <summary>
        /// Public constructor with required data
        /// </summary>
        /// <param name="_master0"></param>
        public Detail(global::Sandbox_EF6.Master _master0)
        {
            if (_master0 == null)
            {
                throw new ArgumentNullException(nameof(_master0));
            }
            _master0.Details.Add(this);

            Init();
        }
Esempio n. 2
0
 /// <summary>
 /// Static create function (for use in LINQ queries, etc.)
 /// </summary>
 /// <param name="_master0"></param>
 public static Detail Create(global::Sandbox_EF6.Master _master0)
 {
     return(new Detail(_master0));
 }