fx\src\data\System\Data\CodeGen\datacache.cs (37)
405colProp.GetStatements.Add(Return(Field(This(), TableColumnFieldName(column))));
572CodeExpression codeField = Field(This(), ColumnName);
581Field(TypeExpr(typeof(MappingType)),
591tableInitClass.Statements.Add(MethodCall(Property(This(), "Columns"), "Add", Field(This(), ColumnName)));
603createArgs[j] = Field(This(), TableColumnFieldName(columns[j]));
621CodeExpression codeField = Field(This(), ColumnName);
770constructor.Statements.Add(Assign(Field(This(), stTblFieldName), Cast(stTblClassName, Property(This(),"Table"))));
810CodeStatement getStmnt = Return(Cast(GetTypeName(DataType), Indexer(This(), Property(Field(This(), stTblFieldName), tableColumnName))));
830nullValueExpr = Field(TypeExpr(stRowClassName), rowColumnName + "_nullValue");
859nullValueExpr = Field(TypeExpr(stRowClassName), rowColumnName + "_nullValue");
892rowProp.SetStatements.Add(Assign(Indexer(This(), Property(Field(This(), stTblFieldName), tableColumnName)), Value()));
901isNull.Statements.Add(Return(MethodCall(This(), "IsNull", Property(Field(This(), stTblFieldName), tableColumnName))));
909setNull.Statements.Add(Assign(Indexer(This(), Property(Field(This(), stTblFieldName), tableColumnName)), Field(TypeExpr(typeof(Convert)), "DBNull")));
976constructor.Statements.Add(Assign(Field(This(), "eventRow" ), Argument("row" )));
977constructor.Statements.Add(Assign(Field(This(), "eventAction"), Argument("action")));
985rowProp.GetStatements.Add(Return(Field(This(), "eventRow")));
993rowProp.GetStatements.Add(Return(Field(This(), "eventAction")));
1082schemaBody.Add(Stm(MethodCall(This(),"Merge",new CodeExpression[] {Variable("ds"),Primitive(false),Field(TypeExpr(typeof(MissingSchemaAction)),"Add")})));
1144CodeExpression fieldTable = Field(This(), TableFieldName(dataSet.Tables[i]));
1241readXmlSerializable.Statements.Add(MethodCall(This(),"Merge",new CodeExpression[] {Variable("ds"),Primitive(false),Field(TypeExpr(typeof(MissingSchemaAction)),"Add")}));
1281childrenColumns.Initializers.Add(Property(Field(This(), TableFieldName(c.Table)), TableColumnPropertyName(c)));
1287parentColumns.Initializers.Add(Property(Field(This(), TableFieldName(c.Table)), TableColumnPropertyName(c)));
1301Property(Field(This(), TableFieldName(table)), "Constraints"),
1309initClassMethod.Statements.Add(Assign(Property(varFkc,"AcceptRejectRule"),Field(TypeExpr(fkc.AcceptRejectRule.GetType()), acceptRejectRule)));
1310initClassMethod.Statements.Add(Assign(Property(varFkc,"DeleteRule"),Field(TypeExpr(fkc.DeleteRule.GetType()), deleteRule)));
1311initClassMethod.Statements.Add(Assign(Property(varFkc,"UpdateRule"),Field(TypeExpr(fkc.UpdateRule.GetType()), updateRule)));
1326parentColCreate.Initializers.Add(Property(Field(This(), parentTableField), TableColumnPropertyName(column)));
1333childColCreate.Initializers.Add(Property(Field(This(), childTableField), TableColumnPropertyName(column)));
1338Field(This(), RelationFieldName(relation)),
1344initClassMethod.Statements.Add(Assign(Property(Field(This(), RelationFieldName(relation)), "Nested"), Primitive(true)));
1347initClassMethod.Statements.Add(MethodCall(Property(This(), "Relations"), "Add", Field(This(), RelationFieldName(relation))));
1350initVarsMethod.Statements.Add(Assign(Field(This(), RelationFieldName(relation)), Indexer(Property(This(),"Relations"),Str(relation.RelationName))));
1364Field(TypeExpr(typeof(DesignerSerializationVisibility)), "Content")
1366prop.GetStatements.Add(Return(Field(This(), TableFieldName(dataSet.Tables[i]))));
1380If(EQ(Property(Argument("e"),"Action"),Field(TypeExpr(typeof(CollectionChangeAction)),"Remove")),
1395CodeExpression codeField = Property(Field(This(), TableFieldName(table)), TableColumnPropertyName(column));