List <CHILDREN> IService1.GetAllChildren() { DataClasses1DataContext dc = new DataClasses1DataContext(); List <CHILDREN> eenLijst = new List <CHILDREN>(); var children = from row in dc.CHILDRENs select row; foreach (var child in children) { CHILDREN kind = new CHILDREN(); kind.ID = child.ID; kind.NAME = child.NAME; kind.USERNAME = child.USERNAME; kind.PASSWORD = child.PASSWORD; eenLijst.Add(kind); } return(eenLijst); }
partial void DeleteCHILDREN(CHILDREN instance);
partial void UpdateCHILDREN(CHILDREN instance);
partial void InsertCHILDREN(CHILDREN instance);