From: Manuel E. <me...@mi...> - 2006-11-29 16:22:48
|
Sorry guys, I missed to commit the file yesterday. =20 About the IEnumerable return types, I think that an array could be initialized with contents of a IEnumerable but I was wrong. I changed = those functions to use arrays instead of IEnumerable. =20 These changes are in svn now. =20 _____ =20 De: Carlos Gerardo Hernandez Castrejon [mailto:he...@he...]=20 Enviado el: Martes, 28 de Noviembre de 2006 07:20 p.m. Para: ma...@gm... Asunto: Pedos del DataLayer =20 Que onda manox, oye fijate que no subiste el archivo ToManyAttribute.cs = y no podemos compilar. Otra cosa, el metodo=20 private IEnumerable LoadRows(IEnumerable drs)=20 regresa un IEnumerable, pero cuando es utilizado desde public object [] LoadObject (object [] primaryKeysValues,=20 ReloadType reload)=20 especificamente en esta linea return new object[] { LoadRows(new DataRow[1] { dt.Rows.Find(primaryKeysValues) = }) };=20 no se puede convertir IEnumerable a un array de objects, porque lo = hiciste as=ED? es necesario? o que pex Hay esperamos tu respuesta ma=F1ana, para seguirle..=20 =20 =20 |