示例#1
0
            public Plaza ToPlaza()
            {
                Plaza inst = new Plaza();

                this.AssignTo(inst); // set all properties to new instance.
                return(inst);
            }
示例#2
0
 public static List <Lane> GetPlazaLanes(Plaza value)
 {
     lock (sync)
     {
         if (null == value)
         {
             return(new List <Lane>());
         }
         return(GetPlazaLanes(value.TSBId, value.PlazaGroupId, value.PlazaId));
     }
 }
示例#3
0
        /// <summary>
        /// Gets Lanes (By Plaza).
        /// </summary>
        /// <param name="value">The Plaza instance.</param>
        /// <returns>Returns List fo Lanes.</returns>
        public static NDbResult <List <Lane> > GetPlazaLanes(Plaza value)
        {
            var result          = new NDbResult <List <Lane> >();
            SQLiteConnection db = Default;

            if (null == db)
            {
                result.DbConenctFailed();
                return(result);
            }
            lock (sync)
            {
                return(GetPlazaLanes(value.TSBId, value.PlazaGroupId, value.PlazaId));
            }
        }