public Plaza ToPlaza() { Plaza inst = new Plaza(); this.AssignTo(inst); // set all properties to new instance. return(inst); }
public static List <Lane> GetPlazaLanes(Plaza value) { lock (sync) { if (null == value) { return(new List <Lane>()); } return(GetPlazaLanes(value.TSBId, value.PlazaGroupId, value.PlazaId)); } }
/// <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)); } }