19 references to MethodCall
System.Data (19)
fx\src\data\System\Data\CodeGen\datacache.cs (19)
300onRowEvent.Statements.Add(MethodCall(Base(), "OnRow" + eventName, Argument("e"))); 424addMethod.Statements.Add(MethodCall(Property(This(), "Rows"), "Add", Argument("row"))); 488addByColName.Statements.Add(MethodCall(Property(This(), "Rows"), "Add", varRow)); 528findBy.Statements.Add(Return(Cast(stRowClassName, MethodCall(Property(This(), "Rows"), "Find", arrayCreate)))); 591tableInitClass.Statements.Add(MethodCall(Property(This(), "Columns"), "Add", Field(This(), ColumnName))); 606tableInitClass.Statements.Add(MethodCall(Property(This(), "Constraints"), "Add", 738removeMethod.Statements.Add(MethodCall(Property(This(), "Rows"), "Remove", Argument("row"))); 862nullValueFieldInit = MethodCall(TypeExpr(typeof(System.Convert)), "FromBase64String", Primitive(nullValue)); 864nullValueFieldInit = MethodCall(TypeExpr(col.DataType), "Parse", Primitive(nullValueObj.ToString())); 901isNull.Statements.Add(Return(MethodCall(This(), "IsNull", Property(Field(This(), stTblFieldName), tableColumnName)))); 925childArray.Statements.Add(Return(Cast(Type(rowConcreateClassName, 1), MethodCall(This(), "GetChildRows", Indexer(Property(Property(This(), "Table"), "ChildRelations"), Str(relation.RelationName)))))); 944anotherProp.GetStatements.Add(Return(Cast(ParentTypedRowName, MethodCall(This(), "GetParentRow", Indexer(Property(Property(This(), "Table"), "ParentRelations"), Str(relation.RelationName)))))); 1052Stm(MethodCall(This(),"InitVars", Primitive(false))), 1072Stm(MethodCall(Property(This(), "Tables"), "Add", New(TableClassName(dataSet.Tables[i]), new CodeExpression[] {Indexer(Property(Variable("ds"),"Tables"),Str(dataSet.Tables[i].TableName))}))) 1148initClassMethod.Statements.Add(MethodCall(Property(This(), "Tables"), "Add", fieldTable)); 1231Stm(MethodCall(Property(This(), "Tables"), "Add", New(TableClassName(dataSet.Tables[i]), new CodeExpression[] {Indexer(Property(Variable("ds"),"Tables"),Str(dataSet.Tables[i].TableName))}))) 1255getSchemaSerializable.Statements.Add(MethodCall(This(), "WriteXmlSchema", New(typeof(System.Xml.XmlTextWriter),new CodeExpression[] {Argument("stream"),Primitive(null)}))); 1300initClassMethod.Statements.Add(MethodCall( 1347initClassMethod.Statements.Add(MethodCall(Property(This(), "Relations"), "Add", Field(This(), RelationFieldName(relation))));