public static DatabaseObject[] FromTSObject(dynamic[] tsArray) { if (tsArray is null) { return(null); } var list = new System.Collections.Generic.List <DatabaseObject>(); foreach (var tsItem in tsArray) { list.Add(DatabaseObject_.FromTSObject(tsItem)); } return(list.ToArray()); }
public static dynamic GetTSObject(DatabaseObject[] dynArray) { if (dynArray is null) { return(null); } var list = new System.Collections.Generic.List <dynamic>(); foreach (var dynItem in dynArray) { list.Add(DatabaseObject_.GetTSObject(dynItem)); } return(list.ToArray()); }