using System;
using System.Data;
using System.Xml;
using System.Collections.Generic;
using System.Collections;
using System.Text;
using System.Web;
using IlgharCMS;
using IlgharCMS.ShopModule;
public partial class CIlgharCMS : IlgharCMS.Lib.AdminPageBase
{
public CIlgharCMS()
: base("IlgharCMS.ShopModule/goods/edit.dwt.aspx")
{}
protected XmlDocument _xmlTemplate;
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
_xmlTemplate = XmlData.GetXmlDocument();
if (!String.IsNullOrEmpty(Request.QueryString["GetPageCount"]))
                            {
                                Response.Write(1);
                                Response.End();
                            }
                        
}

                                protected DataRow MemberChannel
                                {
                                    get
                                    {
                                        if (_MemberChannel == null)
                                            _MemberChannel = Manager.GetExtraInstance(Channel, "Member");

                                        return _MemberChannel;
                                    }
                                }
                                private DataRow _MemberChannel;

                            
                            protected Dictionary<string, object> Goods
                            {
                                get
                                {
                                    object id = null;
                                    id = Convert.ToString(Request.QueryString["ID"]);
                                    if (_GoodsID != null && _GoodsID == id)
                                        return _Goods;

                                    int instanceID;
instanceID = InstanceID;

                                    using (IlgharCMS.ShopModule.IGoods bll = (IlgharCMS.ShopModule.IGoods)Manager.CreateObject("Goods", instanceID, ContentLang, false))
                                    {
                                        _GoodsID = id;
                                        _Goods = bll.Get(id);
                                    }

                                    return _Goods;
                                }
                            }
                            private Dictionary<string, object> _Goods;
                            private object _GoodsID;
                            
                            protected System.Collections.Generic.Dictionary<System.String,System.String> Config
                            {
                                get
                                {
                                    object id = null;
                                    
                                    if (_ConfigID != null && _ConfigID == id)
                                        return _Config;

                                    int instanceID;
instanceID = InstanceID;

                                    using (IlgharCMS.ShopModule.IInstanceConfig bll = (IlgharCMS.ShopModule.IInstanceConfig)Manager.CreateObject("InstanceConfig", instanceID, ContentLang, false))
                                    {
                                        _ConfigID = id;
                                        _Config = bll.GetBasicSettings();
                                    }

                                    return _Config;
                                }
                            }
                            private System.Collections.Generic.Dictionary<System.String,System.String> _Config;
                            private object _ConfigID;
                            
                        protected int t3683IDRecordCount
                        {
                            get
                            {
                                int instanceID;
instanceID = InstanceID;
                                using (IlgharCMS.ShopModule.Goods.ITag bll = (IlgharCMS.ShopModule.Goods.ITag)Manager.CreateObject("Goods.Tag", instanceID, ContentLang, false))
                                {
                                    string condition = null;
condition += "P1896_5_79=";
object v0 = (Goods==null?null:Goods[IlgharCMS.ShopModule.Alias.Goods.ID]);
                                            if (v0 == null)
                                                condition = condition.Substring(0, condition.Length - 11);
                                            else if (v0.ToString() == String.Empty)
                                                condition = condition.Substring(0, condition.Length - 1) + " IS NULL ";
                                            else
                                                condition += v0.ToString();
                                            

                                    return bll.GetRecordCount(condition);
                                }
                            }
                        }
                        
                            protected int t3683IDCounter = 0;
                            protected object t3683IDRecord = null;
                            private DataTable t3683IDData;
                            protected DataTable t3683ID
                            {
                                get
                                {
                                    if (t3683IDData != null)
                                        return t3683IDData;

                                    t3683IDData = t3683ID_;
                                    return t3683IDData;
                                }
                            }
                        
                                private DataTable t3683ID_
                                {
                                    get
                                    {
                                        string condition = null;
condition += "P1896_5_79=";
object v0 = (Goods==null?null:Goods[IlgharCMS.ShopModule.Alias.Goods.ID]);
                                            if (v0 == null)
                                                condition = condition.Substring(0, condition.Length - 11);
                                            else if (v0.ToString() == String.Empty)
                                                condition = condition.Substring(0, condition.Length - 1) + " IS NULL ";
                                            else
                                                condition += v0.ToString();
                                            

                                        string sort = null;

                                        int instanceID;
instanceID = InstanceID;

                                        using (IlgharCMS.ShopModule.Goods.ITag bll = (IlgharCMS.ShopModule.Goods.ITag)Manager.CreateObject("Goods.Tag", instanceID, ContentLang, false))
                                        {
                                            t3683IDData = bll.List(-1, -1, condition, sort);
                                        }

                                        return t3683IDData;
                                    }
                                }
                            
                            protected string t3683
                            {
                                get
                                {
                                    XmlNode node = _xmlTemplate.SelectSingleNode("//t3683");
                                    Dictionary<string, object> replacementPair = new Dictionary<string, object>();
                                    replacementPair["{#TagID#}"] = IlgharCMS.ShopModule.Alias.Goods.Tag.TagID;replacementPair["{#TagName#}"] = IlgharCMS.ShopModule.Alias.Goods.Tag.TagName;replacementPair["{#TagPageGenerate#}"] = IlgharCMS.ShopModule.Alias.Goods.Tag.TagPageGenerate;replacementPair["{#TagPageTemplate#}"] = IlgharCMS.ShopModule.Alias.Goods.Tag.TagPageTemplate;replacementPair["{#TagPageID#}"] = IlgharCMS.ShopModule.Alias.Goods.Tag.TagPageID;replacementPair["{#TagPageExtension#}"] = IlgharCMS.ShopModule.Alias.Goods.Tag.TagPageExtension;
                                    StringBuilder all = Manager.Build(node, t3683ID_, replacementPair, ref t3683IDRecord, ref t3683IDCounter);
                                    
                                    
                                    
                                    return all.ToString();
                                }
                            }
                          
                        protected int t4034IDRecordCount
                        {
                            get
                            {
                                int instanceID;
instanceID = InstanceID;
                                using (IlgharCMS.ShopModule.IMemberPrice bll = (IlgharCMS.ShopModule.IMemberPrice)Manager.CreateObject("MemberPrice", instanceID, ContentLang, false))
                                {
                                    string condition = null;
condition += "P1896_28_415=";
object v0 = (Goods==null?null:Goods[IlgharCMS.ShopModule.Alias.Goods.ID]);
                                            if (v0 == null)
                                                condition = condition.Substring(0, condition.Length - 13);
                                            else if (v0.ToString() == String.Empty)
                                                condition = condition.Substring(0, condition.Length - 1) + " IS NULL ";
                                            else
                                                condition += v0.ToString();
                                            

                                    return bll.GetRecordCount(condition);
                                }
                            }
                        }
                        
                            protected int t4034IDCounter = 0;
                            protected object t4034IDRecord = null;
                            private DataTable t4034IDData;
                            protected DataTable t4034ID
                            {
                                get
                                {
                                    if (t4034IDData != null)
                                        return t4034IDData;

                                    t4034IDData = t4034ID_;
                                    return t4034IDData;
                                }
                            }
                        
                                private DataTable t4034ID_
                                {
                                    get
                                    {
                                        string condition = null;
condition += "P1896_28_415=";
object v0 = (Goods==null?null:Goods[IlgharCMS.ShopModule.Alias.Goods.ID]);
                                            if (v0 == null)
                                                condition = condition.Substring(0, condition.Length - 13);
                                            else if (v0.ToString() == String.Empty)
                                                condition = condition.Substring(0, condition.Length - 1) + " IS NULL ";
                                            else
                                                condition += v0.ToString();
                                            

                                        string sort = null;

                                        int instanceID;
instanceID = InstanceID;

                                        using (IlgharCMS.ShopModule.IMemberPrice bll = (IlgharCMS.ShopModule.IMemberPrice)Manager.CreateObject("MemberPrice", instanceID, ContentLang, false))
                                        {
                                            t4034IDData = bll.List(-1, -1, condition, sort);
                                        }

                                        return t4034IDData;
                                    }
                                }
                            
                            protected string t4034
                            {
                                get
                                {
                                    XmlNode node = _xmlTemplate.SelectSingleNode("//t4034");
                                    Dictionary<string, object> replacementPair = new Dictionary<string, object>();
                                    replacementPair["{#RoleInnerID#}"] = IlgharCMS.ShopModule.Alias.MemberPrice.RoleInnerID;replacementPair["{#Price#}"] = IlgharCMS.ShopModule.Alias.MemberPrice.Price;
                                    StringBuilder all = Manager.Build(node, t4034ID_, replacementPair, ref t4034IDRecord, ref t4034IDCounter);
                                    
                                    
                                    
                                    return all.ToString();
                                }
                            }
                          
                        protected int t6761IDRecordCount
                        {
                            get
                            {
                                int instanceID;
instanceID = InstanceID;
                                using (IlgharCMS.ShopModule.IGoodsCategory bll = (IlgharCMS.ShopModule.IGoodsCategory)Manager.CreateObject("GoodsCategory", instanceID, ContentLang, false))
                                {
                                    string condition = null;


                                    return bll.GetRecordCount(condition);
                                }
                            }
                        }
                        
                            protected int t6761IDCounter = 0;
                            protected object t6761IDRecord = null;
                        
                            private DataTable t6761ID;
                            private DataTable t6761ID_
                            {
                                get
                                {
                                    string condition = null;


                                    string sort = null;

                                    int instanceID;
instanceID = InstanceID;

                                    using (IlgharCMS.ShopModule.IGoodsCategory bll = (IlgharCMS.ShopModule.IGoodsCategory)Manager.CreateObject("GoodsCategory", instanceID, ContentLang, false))
                                    {
                                        t6761ID = bll.List(-1, -1, condition, sort);
                                    }

                                    return t6761ID;
                                }
                            }
                        
                            protected string t6761
                            {
                                get
                                {
                                    XmlNode node = _xmlTemplate.SelectSingleNode("//t6761");
                                    Dictionary<string, object> replacementPair = new Dictionary<string, object>();
                                    
                                        replacementPair["{#t7247#}"] = new CustomBuildTree(
                                                                        delegate(TreeNode record, int index)
                                                                        {string t7247 = String.Empty;
if (Guid.Equals((t6761IDRecord as TreeNode).Row[IlgharCMS.ShopModule.Alias.GoodsCategory.ID],(Goods==null?null:Goods[IlgharCMS.ShopModule.Alias.Goods.CategoryID])))
{t7247 = _xmlTemplate.SelectSingleNode("/" + "/t7247/If").InnerText;}
else
{t7247 = _xmlTemplate.SelectSingleNode("/" + "/t7247/Else").InnerText;}

                                                                            return t7247;
                                                                        }
                                                                        );
                                                replacementPair["{#Control#}"] = null;replacementPair["{#ChildRecords#}"] = null;replacementPair["{#ID#}"] = IlgharCMS.ShopModule.Alias.GoodsCategory.ID;replacementPair["{#Name#}"] = IlgharCMS.ShopModule.Alias.GoodsCategory.Name;replacementPair["{#PageGenerate#}"] = IlgharCMS.ShopModule.Alias.GoodsCategory.PageGenerate;replacementPair["{#PageTemplate#}"] = IlgharCMS.ShopModule.Alias.GoodsCategory.PageTemplate;replacementPair["{#PageID#}"] = IlgharCMS.ShopModule.Alias.GoodsCategory.PageID;replacementPair["{#PageExtension#}"] = IlgharCMS.ShopModule.Alias.GoodsCategory.PageExtension;
                                    StringBuilder all = Manager.BuildTree(node, t6761ID_, replacementPair, IlgharCMS.ShopModule.Alias.GoodsCategory.ParentID, IlgharCMS.ShopModule.Alias.GoodsCategory.ID, ref t6761IDRecord, ref t6761IDCounter);
                                    
                                    
                                    
                                    return all.ToString();
                                }
                            }
                          
                        protected int t8036IDRecordCount
                        {
                            get
                            {
                                int instanceID;
instanceID = InstanceID;
                                using (IlgharCMS.ShopModule.IType bll = (IlgharCMS.ShopModule.IType)Manager.CreateObject("Type", instanceID, ContentLang, false))
                                {
                                    string condition = null;


                                    return bll.GetRecordCount(condition);
                                }
                            }
                        }
                        
                            protected int t8036IDCounter = 0;
                            protected object t8036IDRecord = null;
                            private DataTable t8036IDData;
                            protected DataTable t8036ID
                            {
                                get
                                {
                                    if (t8036IDData != null)
                                        return t8036IDData;

                                    t8036IDData = t8036ID_;
                                    return t8036IDData;
                                }
                            }
                        
                                private DataTable t8036ID_
                                {
                                    get
                                    {
                                        string condition = null;


                                        string sort = null;

                                        int instanceID;
instanceID = InstanceID;

                                        using (IlgharCMS.ShopModule.IType bll = (IlgharCMS.ShopModule.IType)Manager.CreateObject("Type", instanceID, ContentLang, false))
                                        {
                                            t8036IDData = bll.List(-1, -1, condition, sort);
                                        }

                                        return t8036IDData;
                                    }
                                }
                            
                            protected string t8036
                            {
                                get
                                {
                                    XmlNode node = _xmlTemplate.SelectSingleNode("//t8036");
                                    Dictionary<string, object> replacementPair = new Dictionary<string, object>();
                                    
                                        replacementPair["{#t8099#}"] = new CustomBuild(
                                                                        delegate(DataRow record, int index)
                                                                        {string t8099 = String.Empty;
if (Guid.Equals(t8036ID.Rows[t8036IDCounter][IlgharCMS.ShopModule.Alias.Type.ID],(Goods==null?null:Goods[IlgharCMS.ShopModule.Alias.Goods.TypeID])))
{t8099 = _xmlTemplate.SelectSingleNode("/" + "/t8099/If").InnerText;}
else
{t8099 = _xmlTemplate.SelectSingleNode("/" + "/t8099/Else").InnerText;}

                                                                            return t8099;
                                                                        }
                                                                        );
                                                replacementPair["{#ID#}"] = IlgharCMS.ShopModule.Alias.Type.ID;replacementPair["{#Kind#}"] = IlgharCMS.ShopModule.Alias.Type.Kind;replacementPair["{#Name#}"] = IlgharCMS.ShopModule.Alias.Type.Name;
                                    StringBuilder all = Manager.Build(node, t8036ID_, replacementPair, ref t8036IDRecord, ref t8036IDCounter);
                                    
                                    
                                    
                                    return all.ToString();
                                }
                            }
                          
                        protected int t9122IDRecordCount
                        {
                            get
                            {
                                int instanceID;
instanceID = InstanceID;
                                using (IlgharCMS.ShopModule.IBrand bll = (IlgharCMS.ShopModule.IBrand)Manager.CreateObject("Brand", instanceID, ContentLang, false))
                                {
                                    string condition = null;


                                    return bll.GetRecordCount(condition);
                                }
                            }
                        }
                        
                            protected int t9122IDCounter = 0;
                            protected object t9122IDRecord = null;
                            private DataTable t9122IDData;
                            protected DataTable t9122ID
                            {
                                get
                                {
                                    if (t9122IDData != null)
                                        return t9122IDData;

                                    t9122IDData = t9122ID_;
                                    return t9122IDData;
                                }
                            }
                        
                                private DataTable t9122ID_
                                {
                                    get
                                    {
                                        string condition = null;


                                        string sort = null;

                                        int instanceID;
instanceID = InstanceID;

                                        using (IlgharCMS.ShopModule.IBrand bll = (IlgharCMS.ShopModule.IBrand)Manager.CreateObject("Brand", instanceID, ContentLang, false))
                                        {
                                            t9122IDData = bll.List(-1, -1, condition, sort);
                                        }

                                        return t9122IDData;
                                    }
                                }
                            
                            protected string t9122
                            {
                                get
                                {
                                    XmlNode node = _xmlTemplate.SelectSingleNode("//t9122");
                                    Dictionary<string, object> replacementPair = new Dictionary<string, object>();
                                    
                                        replacementPair["{#t9186#}"] = new CustomBuild(
                                                                        delegate(DataRow record, int index)
                                                                        {string t9186 = String.Empty;
if (Guid.Equals(t9122ID.Rows[t9122IDCounter][IlgharCMS.ShopModule.Alias.Brand.ID],(Goods==null?null:Goods[IlgharCMS.ShopModule.Alias.Goods.BrandID])))
{t9186 = _xmlTemplate.SelectSingleNode("/" + "/t9186/If").InnerText;}
else
{t9186 = _xmlTemplate.SelectSingleNode("/" + "/t9186/Else").InnerText;}

                                                                            return t9186;
                                                                        }
                                                                        );
                                                replacementPair["{#ID#}"] = IlgharCMS.ShopModule.Alias.Brand.ID;replacementPair["{#InnerID#}"] = IlgharCMS.ShopModule.Alias.Brand.InnerID;replacementPair["{#Name#}"] = IlgharCMS.ShopModule.Alias.Brand.Name;
                                    StringBuilder all = Manager.Build(node, t9122ID_, replacementPair, ref t9122IDRecord, ref t9122IDCounter);
                                    
                                    
                                    
                                    return all.ToString();
                                }
                            }
                          
                        protected int t9716IDRecordCount
                        {
                            get
                            {
                                int instanceID;
instanceID = InstanceID;
                                using (IlgharCMS.ShopModule.IUnit bll = (IlgharCMS.ShopModule.IUnit)Manager.CreateObject("Unit", instanceID, ContentLang, false))
                                {
                                    string condition = null;


                                    return bll.GetRecordCount(condition);
                                }
                            }
                        }
                        
                            protected int t9716IDCounter = 0;
                            protected object t9716IDRecord = null;
                            private DataTable t9716IDData;
                            protected DataTable t9716ID
                            {
                                get
                                {
                                    if (t9716IDData != null)
                                        return t9716IDData;

                                    t9716IDData = t9716ID_;
                                    return t9716IDData;
                                }
                            }
                        
                                private DataTable t9716ID_
                                {
                                    get
                                    {
                                        string condition = null;


                                        string sort = null;

                                        int instanceID;
instanceID = InstanceID;

                                        using (IlgharCMS.ShopModule.IUnit bll = (IlgharCMS.ShopModule.IUnit)Manager.CreateObject("Unit", instanceID, ContentLang, false))
                                        {
                                            t9716IDData = bll.List(-1, -1, condition, sort);
                                        }

                                        return t9716IDData;
                                    }
                                }
                            
                            protected string t9716
                            {
                                get
                                {
                                    XmlNode node = _xmlTemplate.SelectSingleNode("//t9716");
                                    Dictionary<string, object> replacementPair = new Dictionary<string, object>();
                                    
                                        replacementPair["{#t9779#}"] = new CustomBuild(
                                                                        delegate(DataRow record, int index)
                                                                        {string t9779 = String.Empty;
if (Guid.Equals(t9716ID.Rows[t9716IDCounter][IlgharCMS.ShopModule.Alias.Unit.ID],(Goods==null?null:Goods[IlgharCMS.ShopModule.Alias.Goods.UnitID])))
{t9779 = _xmlTemplate.SelectSingleNode("/" + "/t9779/If").InnerText;}
else
{t9779 = _xmlTemplate.SelectSingleNode("/" + "/t9779/Else").InnerText;}

                                                                            return t9779;
                                                                        }
                                                                        );
                                                replacementPair["{#Name#}"] = IlgharCMS.ShopModule.Alias.Unit.Name;replacementPair["{#ID#}"] = IlgharCMS.ShopModule.Alias.Unit.ID;
                                    StringBuilder all = Manager.Build(node, t9716ID_, replacementPair, ref t9716IDRecord, ref t9716IDCounter);
                                    
                                    
                                    
                                    return all.ToString();
                                }
                            }
                          
                        protected int t12787IDRecordCount
                        {
                            get
                            {
                                int instanceID;
instanceID = InstanceID;
                                using (IlgharCMS.ShopModule.Goods.IRelatedGoods bll = (IlgharCMS.ShopModule.Goods.IRelatedGoods)Manager.CreateObject("Goods.RelatedGoods", instanceID, ContentLang, false))
                                {
                                    string condition = null;
condition += "P1896_4_11=";
object v0 = (Goods==null?null:Goods[IlgharCMS.ShopModule.Alias.Goods.ID]);
                                            if (v0 == null)
                                                condition = condition.Substring(0, condition.Length - 11);
                                            else if (v0.ToString() == String.Empty)
                                                condition = condition.Substring(0, condition.Length - 1) + " IS NULL ";
                                            else
                                                condition += v0.ToString();
                                            condition += " OR (P1896_4_12=";
object v1 = (Goods==null?null:Goods[IlgharCMS.ShopModule.Alias.Goods.ID]);
                                            if (v1 == null)
                                                condition = condition.Substring(0, condition.Length - 16);
                                            else if (v1.ToString() == String.Empty)
                                                condition = condition.Substring(0, condition.Length - 1) + " IS NULL ";
                                            else
                                                condition += v1.ToString();
                                            condition += " AND P1896_4_15=";
condition += "true";
condition += ")";

                                    return bll.GetRecordCount(condition);
                                }
                            }
                        }
                        
                            protected int t12787IDCounter = 0;
                            protected object t12787IDRecord = null;
                            private DataTable t12787IDData;
                            protected DataTable t12787ID
                            {
                                get
                                {
                                    if (t12787IDData != null)
                                        return t12787IDData;

                                    t12787IDData = t12787ID_;
                                    return t12787IDData;
                                }
                            }
                        
                                private DataTable t12787ID_
                                {
                                    get
                                    {
                                        string condition = null;
condition += "P1896_4_11=";
object v0 = (Goods==null?null:Goods[IlgharCMS.ShopModule.Alias.Goods.ID]);
                                            if (v0 == null)
                                                condition = condition.Substring(0, condition.Length - 11);
                                            else if (v0.ToString() == String.Empty)
                                                condition = condition.Substring(0, condition.Length - 1) + " IS NULL ";
                                            else
                                                condition += v0.ToString();
                                            condition += " OR (P1896_4_12=";
object v1 = (Goods==null?null:Goods[IlgharCMS.ShopModule.Alias.Goods.ID]);
                                            if (v1 == null)
                                                condition = condition.Substring(0, condition.Length - 16);
                                            else if (v1.ToString() == String.Empty)
                                                condition = condition.Substring(0, condition.Length - 1) + " IS NULL ";
                                            else
                                                condition += v1.ToString();
                                            condition += " AND P1896_4_15=";
condition += "true";
condition += ")";

                                        string sort = null;

                                        int instanceID;
instanceID = InstanceID;

                                        using (IlgharCMS.ShopModule.Goods.IRelatedGoods bll = (IlgharCMS.ShopModule.Goods.IRelatedGoods)Manager.CreateObject("Goods.RelatedGoods", instanceID, ContentLang, false))
                                        {
                                            t12787IDData = bll.List(-1, -1, condition, sort);
                                        }

                                        return t12787IDData;
                                    }
                                }
                            
                            protected string t12787
                            {
                                get
                                {
                                    XmlNode node = _xmlTemplate.SelectSingleNode("//t12787");
                                    Dictionary<string, object> replacementPair = new Dictionary<string, object>();
                                    
                                        replacementPair["{#t12934#}"] = new CustomBuild(
                                                                        delegate(DataRow record, int index)
                                                                        {string t12934 = String.Empty;
if (Guid.Equals(t12787ID.Rows[t12787IDCounter][IlgharCMS.ShopModule.Alias.Goods.RelatedGoods.MainID],(Goods==null?null:Goods[IlgharCMS.ShopModule.Alias.Goods.ID])))
{t12934 = _xmlTemplate.SelectSingleNode("/" + "/t12934/If").InnerText;string t13157 = String.Empty;
if (Convert.ToBoolean(t12787ID.Rows[t12787IDCounter][IlgharCMS.ShopModule.Alias.Goods.RelatedGoods.Both]))
{t13157 = _xmlTemplate.SelectSingleNode("/" + "/t13157/If").InnerText;}
else
{t13157 = _xmlTemplate.SelectSingleNode("/" + "/t13157/Else").InnerText;}
t12934 = t12934.Replace("{#t13157#}",t13157);
}
else
{t12934 = _xmlTemplate.SelectSingleNode("/" + "/t12934/Else").InnerText;}

                                                                            return t12934;
                                                                        }
                                                                        );
                                                replacementPair["{#RelatedInnerID#}"] = IlgharCMS.ShopModule.Alias.Goods.RelatedGoods.RelatedInnerID;replacementPair["{#RelatedID#}"] = IlgharCMS.ShopModule.Alias.Goods.RelatedGoods.RelatedID;replacementPair["{#RelatedName#}"] = IlgharCMS.ShopModule.Alias.Goods.RelatedGoods.RelatedName;replacementPair["{#MainName#}"] = IlgharCMS.ShopModule.Alias.Goods.RelatedGoods.MainName;replacementPair["{#MainID#}"] = IlgharCMS.ShopModule.Alias.Goods.RelatedGoods.MainID;
                                    StringBuilder all = Manager.Build(node, t12787ID_, replacementPair, ref t12787IDRecord, ref t12787IDCounter);
                                    
                                    
                                    
                                    return all.ToString();
                                }
                            }
                          }
