61 references to Assign
System.Data (61)
fx\src\data\System\Data\CodeGen\datacache.cs (61)
371Assign(Property(This(),"CaseSensitive"),Property(Argument("table"),"CaseSensitive")) 376Assign(Property(This(),"Locale"),Property(Argument("table"),"Locale")) 381Assign(Property(This(),"Namespace"),Property(Argument("table"),"Namespace")) 384constructor.Statements.Add(Assign(Property(This(), "Prefix"), Property(Argument("table"),"Prefix"))); 385constructor.Statements.Add(Assign(Property(This(), "MinimumCapacity"), Property(Argument("table"),"MinimumCapacity"))); 386constructor.Statements.Add(Assign(Property(This(), "DisplayExpression"), Property(Argument("table"),"DisplayExpression"))); 575tableInitClass.Statements.Add(Assign(codeField, 624tableInitVars.Statements.Add(Assign(codeField, Indexer(Property(This(),"Columns"),Str(column.ColumnName)))); 628tableInitClass.Statements.Add(Assign(Property(codeField, "AutoIncrement"), Primitive(true))); 632tableInitClass.Statements.Add(Assign(Property(codeField, "AutoIncrementSeed"), Primitive(column.AutoIncrementSeed))); 636tableInitClass.Statements.Add(Assign(Property(codeField, "AutoIncrementStep"), Primitive(column.AutoIncrementStep))); 640tableInitClass.Statements.Add(Assign(Property(codeField, "AllowDBNull"), Primitive(false))); 644tableInitClass.Statements.Add(Assign(Property(codeField, "ReadOnly"), Primitive(true))); 648tableInitClass.Statements.Add(Assign(Property(codeField, "Unique"), Primitive(true))); 653tableInitClass.Statements.Add(Assign(Property(codeField, "Prefix"), Str(column.Prefix))); 657tableInitClass.Statements.Add(Assign(Property(codeField, "Namespace"), Str(column.Namespace))); 661tableInitClass.Statements.Add(Assign(Property(codeField, "Caption"), Str(column.Caption))); 665tableInitClass.Statements.Add(Assign(Property(codeField, "DefaultValue"), Primitive(column.DefaultValue))); 669tableInitClass.Statements.Add(Assign(Property(codeField, "MaxLength"), Primitive(column.MaxLength))); 675tableInitClass.Statements.Add(Assign(Property(This(), "CaseSensitive"), Primitive(table.CaseSensitive))); 679tableInitClass.Statements.Add(Assign(Property(This(), "Locale"), New(typeof(System.Globalization.CultureInfo),new CodeExpression[] {Str(table.Locale.ToString())}))); 683tableInitClass.Statements.Add(Assign(Property(This(), "Prefix"), Str(table.Prefix))); 687tableInitClass.Statements.Add(Assign(Property(This(), "Namespace"), Str(table.Namespace))); 692tableInitClass.Statements.Add(Assign(Property(This(), "MinimumCapacity"), Primitive(table.MinimumCapacity))); 696tableInitClass.Statements.Add(Assign(Property(This(), "DisplayExpression"), Str(table.DisplayExpressionInternal))); 770constructor.Statements.Add(Assign(Field(This(), stTblFieldName), Cast(stTblClassName, Property(This(),"Table")))); 892rowProp.SetStatements.Add(Assign(Indexer(This(), Property(Field(This(), stTblFieldName), tableColumnName)), Value())); 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"))); 1076schemaBody.Add(Assign(Property(This(), "DataSetName"), Property(Variable("ds"),"DataSetName"))); 1077schemaBody.Add(Assign(Property(This(), "Prefix"), Property(Variable("ds"),"Prefix"))); 1078schemaBody.Add(Assign(Property(This(), "Namespace"), Property(Variable("ds"),"Namespace"))); 1079schemaBody.Add(Assign(Property(This(), "Locale"), Property(Variable("ds"),"Locale"))); 1080schemaBody.Add(Assign(Property(This(), "CaseSensitive"), Property(Variable("ds"),"CaseSensitive"))); 1081schemaBody.Add(Assign(Property(This(), "EnforceConstraints"), Property(Variable("ds"),"EnforceConstraints"))); 1131initClassMethod.Statements.Add(Assign(Property(This(), "DataSetName"), Str(dataSet.DataSetName))); 1133initClassMethod.Statements.Add(Assign(Property(This(), "Prefix"), Str(dataSet.Prefix))); 1135initClassMethod.Statements.Add(Assign(Property(This(), "Namespace"), Str(dataSet.Namespace))); 1137initClassMethod.Statements.Add(Assign(Property(This(), "Locale"), New(typeof(System.Globalization.CultureInfo),new CodeExpression[] {Str(dataSet.Locale.ToString())}))); 1139initClassMethod.Statements.Add(Assign(Property(This(), "CaseSensitive"), Primitive(dataSet.CaseSensitive))); 1141initClassMethod.Statements.Add(Assign(Property(This(), "EnforceConstraints"), Primitive(dataSet.EnforceConstraints))); 1146initClassMethod.Statements.Add(Assign(fieldTable, New(TableClassName(dataSet.Tables[i]), new CodeExpression[] {}))); 1153initVarsMethod.Statements.Add(Assign(fieldTable, Cast(TableClassName(dataSet.Tables[i]), Indexer(Property(This(),"Tables"),Str(dataSet.Tables[i].TableName))))); 1211getTypedDataSetSchema.Statements.Add(Assign(Property(Variable("any"),"Namespace"),Property(Variable("ds"),"Namespace"))); 1213getTypedDataSetSchema.Statements.Add(Assign(Property(Variable("type"),"Particle"),Variable("sequence"))); 1235readXmlSerializable.Statements.Add(Assign(Property(This(), "DataSetName"), Property(Variable("ds"),"DataSetName"))); 1236readXmlSerializable.Statements.Add(Assign(Property(This(), "Prefix"), Property(Variable("ds"),"Prefix"))); 1237readXmlSerializable.Statements.Add(Assign(Property(This(), "Namespace"), Property(Variable("ds"),"Namespace"))); 1238readXmlSerializable.Statements.Add(Assign(Property(This(), "Locale"), Property(Variable("ds"),"Locale"))); 1239readXmlSerializable.Statements.Add(Assign(Property(This(), "CaseSensitive"), Property(Variable("ds"),"CaseSensitive"))); 1240readXmlSerializable.Statements.Add(Assign(Property(This(), "EnforceConstraints"), Property(Variable("ds"),"EnforceConstraints"))); 1256getSchemaSerializable.Statements.Add(Assign(Property(Argument("stream"),"Position"),Primitive(0))); 1296initClassMethod.Statements.Add(Assign( 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))); 1337initClassMethod.Statements.Add(Assign( 1344initClassMethod.Statements.Add(Assign(Property(Field(This(), RelationFieldName(relation)), "Nested"), Primitive(true))); 1350initVarsMethod.Statements.Add(Assign(Field(This(), RelationFieldName(relation)), Indexer(Property(This(),"Relations"),Str(relation.RelationName)))); 1398initExpressionMethod.Statements.Add(Assign(Property(codeField, "Expression"), Str(column.Expression)));