public GenericDal(int number) { this.CheckAndCreatePath("Datos"); this.number = number; this.dal = new XmlDalSerializer(string.Format(@"Datos\{0}_{1}.xml", typeof(Entity).Name, number)); }
public GenericDal() { this.CheckAndCreatePath("Datos"); this.dal = new XmlDalSerializer(string.Format(@"Datos\{0}.xml", typeof(Entity).Name)); }