public static void AddTableRow(DataTable table, Out_Type_DictionaryInfo out_Type_DictionaryInfo) { System.Data.DataRow dr = table.NewRow(); dr["Id"] = out_Type_DictionaryInfo.id; dr["Name"] = out_Type_DictionaryInfo.name; table.Rows.Add(dr); }
public override bool Equals(object obj) { if (!base.Equals(obj)) { return(false); } if (obj == null) { return(false); } if (this.GetType() != obj.GetType()) { return(false); } Out_Type_DictionaryInfo out_Type_DictionaryInfo = obj as Out_Type_DictionaryInfo; return(this.id.Equals(out_Type_DictionaryInfo.Id)); }
public Out_Type_DictionaryInfo(Out_Type_DictionaryInfo out_Type_DictionaryInfo) { this.id = out_Type_DictionaryInfo.Id; this.name = out_Type_DictionaryInfo.Name; }