public static Stand ToStand(dtoStand dtoStand) { return(new Stand() { Code = dtoStand.Code, CodeShop = dtoStand.CodeShop, X2 = dtoStand.P2.X, X1 = dtoStand.P1.X, Y2 = dtoStand.P2.Y, Y1 = dtoStand.P1.Y, Alias = Converts.ToAlias(dtoStand.Alias), Shelves = Converts.ToShelves(dtoStand.Shelves), Shop = null, CodeAlias = dtoStand.CodeAlias }); }
public List <dtoGetaway> GetGatewyList() { List <dtoGetaway> l = dtoGetaway.GetDtoGetaways(); return(l); dtoStand s = new dtoStand(); //שרשרת הגישה var v = s.DtoShelves.First().ProductShelves.First().DtoProduct; }