adapdev-commits Mailing List for Adapdev.NET (Page 24)
Status: Beta
Brought to you by:
intesar66
You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
(26) |
Apr
(59) |
May
(37) |
Jun
(53) |
Jul
(13) |
Aug
(7) |
Sep
(5) |
Oct
(74) |
Nov
(404) |
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(10) |
Feb
(26) |
Mar
(64) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Sean M. <int...@us...> - 2005-10-21 04:59:37
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.CodeGen In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27500/src/Adapdev.CodeGen Added Files: Adapdev.CodeGen.csproj.user Log Message: Several bug fixes for AbstractDAO Added unit tests for NUnit support --- NEW FILE: Adapdev.CodeGen.csproj.user --- <VisualStudioProject> <CSHARP LastOpenVersion = "7.10.3077" > <Build> <Settings ReferencePath = "D:\projects\Adapdev\Adapdev\lib\" > <Config Name = "Debug" EnableASPDebugging = "false" EnableASPXDebugging = "false" EnableUnmanagedDebugging = "false" EnableSQLServerDebugging = "false" RemoteDebugEnabled = "false" RemoteDebugMachine = "" StartAction = "Project" StartArguments = "" StartPage = "" StartProgram = "" StartURL = "" StartWorkingDirectory = "" StartWithIE = "false" /> <Config Name = "Release" EnableASPDebugging = "false" EnableASPXDebugging = "false" EnableUnmanagedDebugging = "false" EnableSQLServerDebugging = "false" RemoteDebugEnabled = "false" RemoteDebugMachine = "" StartAction = "Project" StartArguments = "" StartPage = "" StartProgram = "" StartURL = "" StartWorkingDirectory = "" StartWithIE = "false" /> </Settings> </Build> <OtherProjectSettings CopyProjectDestinationFolder = "" CopyProjectUncPath = "" CopyProjectOption = "0" ProjectView = "ProjectFiles" ProjectTrust = "0" /> </CSHARP> </VisualStudioProject> |
From: Sean M. <int...@us...> - 2005-10-21 04:59:37
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27500/src/Adapdev Added Files: Adapdev.csproj.user Log Message: Several bug fixes for AbstractDAO Added unit tests for NUnit support --- NEW FILE: Adapdev.csproj.user --- <VisualStudioProject> <CSHARP LastOpenVersion = "7.10.3077" > <Build> <Settings ReferencePath = "D:\projects\Adapdev\Adapdev\lib\" > <Config Name = "Debug" EnableASPDebugging = "false" EnableASPXDebugging = "false" EnableUnmanagedDebugging = "false" EnableSQLServerDebugging = "false" RemoteDebugEnabled = "false" RemoteDebugMachine = "" StartAction = "Project" StartArguments = "" StartPage = "" StartProgram = "" StartURL = "" StartWorkingDirectory = "" StartWithIE = "true" /> <Config Name = "Release" EnableASPDebugging = "false" EnableASPXDebugging = "false" EnableUnmanagedDebugging = "false" EnableSQLServerDebugging = "false" RemoteDebugEnabled = "false" RemoteDebugMachine = "" StartAction = "Project" StartArguments = "" StartPage = "" StartProgram = "" StartURL = "" StartWorkingDirectory = "" StartWithIE = "true" /> </Settings> </Build> <OtherProjectSettings CopyProjectDestinationFolder = "" CopyProjectUncPath = "" CopyProjectOption = "0" ProjectView = "ProjectFiles" ProjectTrust = "0" /> </CSHARP> </VisualStudioProject> |
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Data/bin/Debug In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27500/src/Adapdev.Data/bin/Debug Added Files: Adapdev.Data.dll Adapdev.Data.pdb Adapdev.dll Adapdev.pdb MySql.Data.dll MySql.Data.pdb log4net.dll Log Message: Several bug fixes for AbstractDAO Added unit tests for NUnit support --- NEW FILE: MySql.Data.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Adapdev.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: MySql.Data.pdb --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Adapdev.pdb --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Adapdev.Data.pdb --- (This appears to be a binary file; contents omitted.) --- NEW FILE: log4net.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Adapdev.Data.dll --- (This appears to be a binary file; contents omitted.) |
From: Sean M. <int...@us...> - 2005-10-21 04:59:36
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.CodeGen.Tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27500/src/Adapdev.CodeGen.Tests Added Files: Adapdev.CodeGen.Tests.csproj.user Log Message: Several bug fixes for AbstractDAO Added unit tests for NUnit support --- NEW FILE: Adapdev.CodeGen.Tests.csproj.user --- <VisualStudioProject> <CSHARP LastOpenVersion = "7.10.3077" > <Build> <Settings ReferencePath = "D:\projects\Adapdev\Adapdev\lib\" > <Config Name = "Debug" EnableASPDebugging = "false" EnableASPXDebugging = "false" EnableUnmanagedDebugging = "false" EnableSQLServerDebugging = "false" RemoteDebugEnabled = "false" RemoteDebugMachine = "" StartAction = "Project" StartArguments = "" StartPage = "" StartProgram = "" StartURL = "" StartWorkingDirectory = "" StartWithIE = "false" /> <Config Name = "Release" EnableASPDebugging = "false" EnableASPXDebugging = "false" EnableUnmanagedDebugging = "false" EnableSQLServerDebugging = "false" RemoteDebugEnabled = "false" RemoteDebugMachine = "" StartAction = "Project" StartArguments = "" StartPage = "" StartProgram = "" StartURL = "" StartWorkingDirectory = "" StartWithIE = "false" /> </Settings> </Build> <OtherProjectSettings CopyProjectDestinationFolder = "" CopyProjectUncPath = "" CopyProjectOption = "0" ProjectView = "ProjectFiles" ProjectTrust = "0" /> </CSHARP> </VisualStudioProject> |
From: Sean M. <int...@us...> - 2005-10-21 04:59:36
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.NVelocity In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27500/src/Adapdev.NVelocity Added Files: Adapdev.NVelocity.csproj.user Log Message: Several bug fixes for AbstractDAO Added unit tests for NUnit support --- NEW FILE: Adapdev.NVelocity.csproj.user --- <VisualStudioProject> <CSHARP LastOpenVersion = "7.10.3077" > <Build> <Settings ReferencePath = "D:\projects\Adapdev\Adapdev\lib\" > <Config Name = "Debug" EnableASPDebugging = "false" EnableASPXDebugging = "false" EnableUnmanagedDebugging = "false" EnableSQLServerDebugging = "false" RemoteDebugEnabled = "false" RemoteDebugMachine = "" StartAction = "Project" StartArguments = "" StartPage = "" StartProgram = "" StartURL = "" StartWorkingDirectory = "" StartWithIE = "false" /> <Config Name = "Release" EnableASPDebugging = "false" EnableASPXDebugging = "false" EnableUnmanagedDebugging = "false" EnableSQLServerDebugging = "false" RemoteDebugEnabled = "false" RemoteDebugMachine = "" StartAction = "Project" StartArguments = "" StartPage = "" StartProgram = "" StartURL = "" StartWorkingDirectory = "" StartWithIE = "false" /> </Settings> </Build> <OtherProjectSettings CopyProjectDestinationFolder = "" CopyProjectUncPath = "" CopyProjectOption = "0" ProjectView = "ProjectFiles" ProjectTrust = "0" /> </CSHARP> </VisualStudioProject> |
From: Sean M. <int...@us...> - 2005-10-21 04:59:36
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Data.Tests/CategoriesExample In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27500/src/Adapdev.Data.Tests/CategoriesExample Added Files: CategoriesDAO.cs CategoriesDAOBase.cs CategoriesEntity.cs CategoriesEntityBase.cs CategoriesEntityCollection.cs CategoriesEntityDictionary.cs CategoriesEntityEnumerator.cs DbConstants.cs MockCategories.cs Log Message: Several bug fixes for AbstractDAO Added unit tests for NUnit support --- NEW FILE: CategoriesDAO.cs --- /****************************************** * Auto-generated by Codus * 9/30/2005 5:18:20 PM ******************************************/ using System; using System.Data; using System.Data.Common; using Adapdev.Data; using Adapdev.Data.Sql; namespace Test { /// <summary> /// Data Access Object for the Categories table. /// </summary> /// <remarks> /// All generated functionality is part of the CategoriesDAOBase class. All /// custom implementations should be done in this class. /// </remarks> public class CategoriesDAO : Test.CategoriesDAOBase { } } --- NEW FILE: CategoriesDAOBase.cs --- /****************************************** * Auto-generated by Codus * 9/30/2005 5:18:20 PM ******************************************/ using System; using System.Collections; using System.Data; using System.Data.Common; using Adapdev.Data; using Adapdev.Data.Sql; namespace Test { /// <summary> /// Base Data Access Object for the Categories table. /// </summary> public abstract class CategoriesDAOBase : Adapdev.Data.AbstractDAO { /// <summary> /// A static representation of column CategoryID /// </summary> public static readonly string COLUMN_CATEGORYID = "CategoryID"; /// <summary> /// A static representation of column CategoryName /// </summary> public static readonly string COLUMN_CATEGORYNAME = "CategoryName"; /// <summary> /// A static representation of column Description /// </summary> public static readonly string COLUMN_DESCRIPTION = "Description"; /// <summary> /// A static representation of column Picture /// </summary> public static readonly string COLUMN_PICTURE = "Picture"; /// <summary> /// Provides access to the name of the primary key column (CategoryID) /// </summary> public static readonly string TABLE_PRIMARYKEY = "CategoryID"; /// <summary> /// Provides access to the name of the table /// </summary> public static readonly string TABLE_NAME = "Categories"; /// <summary> /// Provides access to the name of the database /// </summary> public static readonly string DATABASE_NAME = "Northwind"; /// <summary> /// Constructor /// </summary> public CategoriesDAOBase() : base(DbConstants.DatabaseProviderType, DbConstants.DatabaseType, "Categories", DbConstants.ConnectionString) { } /// <summary> /// Maps the IDataReader values to a CategoriesEntity object /// </summary> /// <param name="r">The IDataReader to map</param> /// <returns>CategoriesEntity</returns> protected override object MapObject(System.Data.IDataReader r) { CategoriesEntity entity = new CategoriesEntity(); try{ int ordinal = r.GetOrdinal("CategoryID"); if (!r.IsDBNull(ordinal)) entity.CategoryID = ((System.Int32)(r.GetValue(ordinal))); } catch(Exception){} try{ int ordinal = r.GetOrdinal("CategoryName"); if (!r.IsDBNull(ordinal)) entity.CategoryName = ((System.String)(r.GetValue(ordinal))); } catch(Exception){} try{ int ordinal = r.GetOrdinal("Description"); if (!r.IsDBNull(ordinal)) entity.Description = ((System.String)(r.GetValue(ordinal))); } catch(Exception){} try{ int ordinal = r.GetOrdinal("Picture"); if (!r.IsDBNull(ordinal)) entity.Picture = ((System.Byte[])(r.GetValue(ordinal))); } catch(Exception){} return entity; } /// <summary> /// Creates the sql insert command, using the values from the passed /// in CategoriesEntity object /// </summary> /// <param name="o">A CategoriesEntity object, from which the insert values are pulled</param> /// <returns>An IDbCommand</returns> protected override System.Data.IDbCommand CreateInsertCommand(object o) { CategoriesEntity entity = ((CategoriesEntity)(o)); System.Data.IDbCommand cmd = this.CreateCommand("INSERT INTO [Categories] ( [CategoryName], [Description], [Picture] ) VALUES ( @CategoryName, @Description, @Picture ) "); IDataParameterCollection cmdParams = cmd.Parameters; System.Data.IDbDataParameter parCategoryName = cmd.CreateParameter(); parCategoryName.ParameterName = "@CategoryName"; parCategoryName.Value = entity.CategoryName; cmdParams.Add(parCategoryName); System.Data.IDbDataParameter parDescription = cmd.CreateParameter(); parDescription.ParameterName = "@Description"; parDescription.Value = entity.Description; cmdParams.Add(parDescription); System.Data.IDbDataParameter parPicture = cmd.CreateParameter(); parPicture.ParameterName = "@Picture"; parPicture.Value = entity.Picture; cmdParams.Add(parPicture); return cmd; } /// <summary> /// Creates the sql update command, using the values from the passed /// in CategoriesEntity object /// </summary> /// <param name="o">A CategoriesEntity object, from which the update values are pulled</param> /// <returns>An IDbCommand</returns> protected override System.Data.IDbCommand CreateUpdateCommand(object o) { CategoriesEntity entity = ((CategoriesEntity)(o)); System.Data.IDbCommand cmd = this.CreateCommand("UPDATE [Categories] SET [CategoryName] = @CategoryName, [Description] = @Description, [Picture] = @Picture WHERE [CategoryID] = @CategoryID "); IDataParameterCollection cmdParams = cmd.Parameters; System.Data.IDbDataParameter parCategoryName = cmd.CreateParameter(); parCategoryName.ParameterName = "@CategoryName"; parCategoryName.Value = entity.CategoryName; cmdParams.Add(parCategoryName); System.Data.IDbDataParameter parDescription = cmd.CreateParameter(); parDescription.ParameterName = "@Description"; parDescription.Value = entity.Description; cmdParams.Add(parDescription); System.Data.IDbDataParameter parPicture = cmd.CreateParameter(); parPicture.ParameterName = "@Picture"; parPicture.Value = entity.Picture; cmdParams.Add(parPicture); System.Data.IDbDataParameter pkparCategoryID = cmd.CreateParameter(); pkparCategoryID.ParameterName = "@CategoryID"; pkparCategoryID.Value = entity.CategoryID; cmdParams.Add(pkparCategoryID); return cmd; } /// <summary> /// Creates the sql delete command, using the passed in primary key /// </summary> /// <param name="id">The primary key of the object to delete</param> /// <returns>An IDbCommand</returns> protected override System.Data.IDbCommand CreateDeleteOneCommand(object id) { System.Data.IDbCommand cmd = this.CreateCommand("DELETE FROM [Categories] WHERE [CategoryID] = @CategoryID "); IDataParameterCollection cmdParams = cmd.Parameters; System.Data.IDbDataParameter par = cmd.CreateParameter(); par.ParameterName = "@CategoryID"; par.Value = id; cmdParams.Add(par); return cmd; } /// <summary> /// Creates the sql select command, using the passed in primary key /// </summary> /// <param name="o">The primary key of the object to select</param> /// <returns>An IDbCommand</returns> protected override System.Data.IDbCommand CreateSelectOneCommand(object id) { System.Data.IDbCommand cmd = this.CreateCommand("SELECT [CategoryID], [CategoryName], [Description], [Picture] FROM [Categories] WHERE [CategoryID] = @CategoryID "); IDataParameterCollection cmdParams = cmd.Parameters; System.Data.IDbDataParameter par = cmd.CreateParameter(); par.ParameterName = "@CategoryID"; par.Value = id; cmdParams.Add(par); return cmd; } protected override void CustomSave(object o, IDbConnection connection){ string query = QueryHelper.GetSqlServerLastInsertedScopeCommand(); //string query = QueryHelper.GetSqlServerLastInsertedCommand(CategoriesDAO.TABLE_NAME); IDbCommand cmd = DbProviderFactory.CreateCommand(DbConstants.DatabaseProviderType); cmd.CommandText = query; cmd.Connection = connection; object id = cmd.ExecuteScalar(); this.MapIdentity(o as CategoriesEntity, id); } protected override void CustomSave(object o, IDbConnection connection, IDbTransaction transaction){ string query = QueryHelper.GetSqlServerLastInsertedScopeCommand(); //string query = QueryHelper.GetSqlServerLastInsertedCommand(CategoriesDAO.TABLE_NAME); IDbCommand cmd = DbProviderFactory.CreateCommand(DbConstants.DatabaseProviderType); cmd.CommandText = query; cmd.Transaction = transaction; cmd.Connection = connection; object id = cmd.ExecuteScalar(); this.MapIdentity(o as CategoriesEntity, id); } private void MapIdentity(CategoriesEntity entity, object id){ entity.CategoryID = Convert.ToInt32(id); } } } --- NEW FILE: CategoriesEntity.cs --- /****************************************** * Auto-generated by Codus * 9/30/2005 5:18:19 PM ******************************************/ using System; using Test.Collections; using Adapdev.Text; namespace Test { /// <summary> /// An object representation of the Northwind Categories table /// </summary> [Serializable] public class CategoriesEntity : CategoriesEntityBase{ } } --- NEW FILE: CategoriesEntityBase.cs --- /****************************************** * Auto-generated by Codus * 9/30/2005 5:18:19 PM ******************************************/ using System; using System.Xml.Serialization; using Test.Collections; using Adapdev.Text; namespace Test { /// <summary> /// An object representation of the Northwind Categories table /// </summary> [Serializable] public abstract class CategoriesEntityBase{ private System.Int32 _CategoryID = 0; private System.String _CategoryName = ""; private System.String _Description = ""; private System.Byte[] _Picture = null; [XmlElement(ElementName = "CategoryID")] public System.Int32 CategoryID { get { return this._CategoryID; } set { this._CategoryID = value; } } [XmlElement(ElementName = "CategoryName")] public System.String CategoryName { get { return this._CategoryName; } set { this._CategoryName = value; } } [XmlElement(ElementName = "Description")] public System.String Description { get { return this._Description; } set { this._Description = value; } } [XmlElement(ElementName = "Picture")] public System.Byte[] Picture { get { return this._Picture; } set { this._Picture = value; } } /// <summary> /// Returns a string representation of the object, displaying all property and field names and values. /// </summary> public override string ToString() { return StringUtil.ToString(this); } // public ProductsEntityCollection ProductsByCategoryID{ // get{return new ProductsEntityCollection(new ProductsDAO().SelectAllByCategoryID(this._CategoryID));} // } } } --- NEW FILE: CategoriesEntityCollection.cs --- /****************************************** * Auto-generated by Codus * 9/30/2005 5:18:19 PM ******************************************/ using System; using System.Collections; using Adapdev.Collections; using Test; namespace Test.Collections { [Serializable()] public class CategoriesEntityCollection : SortableCollectionBase { public CategoriesEntityCollection() { } public CategoriesEntityCollection(IList value) { this.AddRange(value); } public CategoriesEntityCollection(CategoriesEntity[] value) { this.AddRange(value); } public CategoriesEntity this[int index] { get { return ((CategoriesEntity)(List[index])); } set { List[index] = value; } } public int Add(CategoriesEntity value) { return List.Add(value); } public void AddRange(CategoriesEntity[] value) { for (int i = 0; (i < value.Length); i = (i + 1)) { this.Add(value[i]); } } public void AddRange(IList value) { for (int i = 0; (i < value.Count); i = (i + 1)) { this.Add((CategoriesEntity)value[i]); } } public bool Contains(CategoriesEntity value) { return List.Contains(value); } public void CopyTo(CategoriesEntity[] array, int index) { List.CopyTo(array, index); } public int IndexOf(CategoriesEntity value) { return List.IndexOf(value); } public void Insert(int index, CategoriesEntity value) { List.Insert(index, value); } public new CategoriesEntityEnumerator GetEnumerator() { return new CategoriesEntityEnumerator(this); } public void Remove(CategoriesEntity value) { List.Remove(value); } } } --- NEW FILE: DbConstants.cs --- /****************************************** * Auto-generated by Codus * 9/30/2005 5:18:21 PM ******************************************/ using System; using Adapdev.Data; namespace Test { public class DbConstants { public static readonly Adapdev.Data.DbProviderType DatabaseProviderType = Adapdev.Data.DbProviderType.SQLSERVER; public static readonly Adapdev.Data.DbType DatabaseType = Adapdev.Data.DbType.SQLSERVER; public static readonly string ConnectionString = @"Data Source=localhost; Initial Catalog=northwind; User ID=sa; Password=; Trusted_Connection=false;"; } } --- NEW FILE: MockCategories.cs --- /****************************************** * Auto-generated by Codus * 9/30/2005 5:18:20 PM ******************************************/ using System; using Adapdev.Text; namespace Test.Mock { /// <summary> /// Represents a test instance of a CategoriesEntity object /// </summary> [Serializable] public class MockCategoriesEntity : CategoriesEntity { public MockCategoriesEntity() : base(){ this.CategoryID = 2; this.CategoryName = "test"; this.Description = "test"; this.Picture = System.Text.Encoding.ASCII.GetBytes("Test String2"); } } } --- NEW FILE: CategoriesEntityEnumerator.cs --- /****************************************** * Auto-generated by Codus * 9/30/2005 5:18:20 PM ******************************************/ using System; using System.Collections; using Test; namespace Test.Collections { public class CategoriesEntityEnumerator : IEnumerator { private IEnumerator baseEnumerator; private IEnumerable temp; public CategoriesEntityEnumerator(CategoriesEntityCollection mappings) { this.temp = ((IEnumerable)(mappings)); this.baseEnumerator = temp.GetEnumerator(); } public CategoriesEntityEnumerator(CategoriesEntityDictionary mappings) { this.temp = ((IEnumerable)(mappings)); this.baseEnumerator = temp.GetEnumerator(); } public CategoriesEntity Current { get { return ((CategoriesEntity)(baseEnumerator.Current)); } } object IEnumerator.Current { get { return baseEnumerator.Current; } } public bool MoveNext() { return baseEnumerator.MoveNext(); } bool IEnumerator.MoveNext() { return baseEnumerator.MoveNext(); } public void Reset() { baseEnumerator.Reset(); } void IEnumerator.Reset() { baseEnumerator.Reset(); } } } --- NEW FILE: CategoriesEntityDictionary.cs --- /****************************************** * Auto-generated by Codus * 9/30/2005 5:18:19 PM ******************************************/ using System; using System.Collections; using Test; namespace Test.Collections { public class CategoriesEntityDictionary : DictionaryBase { public CategoriesEntity this[ object key ] { get { return( (CategoriesEntity) Dictionary[key] ); } set { Dictionary[key] = value; } } public ICollection Keys { get { return( Dictionary.Keys ); } } public ICollection Values { get { return( Dictionary.Values ); } } public void Add( String key, String value ) { Dictionary.Add( key, value ); } public bool Contains( String key ) { return( Dictionary.Contains( key ) ); } public void Remove( String key ) { Dictionary.Remove( key ); } } } |
From: Sean M. <int...@us...> - 2005-10-21 04:59:36
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Web.Tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27500/src/Adapdev.Web.Tests Added Files: Adapdev.Web.Tests.csproj.user Log Message: Several bug fixes for AbstractDAO Added unit tests for NUnit support --- NEW FILE: Adapdev.Web.Tests.csproj.user --- <VisualStudioProject> <CSHARP LastOpenVersion = "7.10.3077" > <Build> <Settings ReferencePath = "D:\projects\Adapdev\Adapdev\lib\" > <Config Name = "Debug" EnableASPDebugging = "false" EnableASPXDebugging = "false" EnableUnmanagedDebugging = "false" EnableSQLServerDebugging = "false" RemoteDebugEnabled = "false" RemoteDebugMachine = "" StartAction = "Project" StartArguments = "" StartPage = "" StartProgram = "" StartURL = "" StartWorkingDirectory = "" StartWithIE = "false" /> <Config Name = "Release" EnableASPDebugging = "false" EnableASPXDebugging = "false" EnableUnmanagedDebugging = "false" EnableSQLServerDebugging = "false" RemoteDebugEnabled = "false" RemoteDebugMachine = "" StartAction = "Project" StartArguments = "" StartPage = "" StartProgram = "" StartURL = "" StartWorkingDirectory = "" StartWithIE = "false" /> </Settings> </Build> <OtherProjectSettings CopyProjectDestinationFolder = "" CopyProjectUncPath = "" CopyProjectOption = "0" ProjectView = "ProjectFiles" ProjectTrust = "0" /> </CSHARP> </VisualStudioProject> |
From: Sean M. <int...@us...> - 2005-10-21 04:59:36
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Web In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27500/src/Adapdev.Web Added Files: Adapdev.Web.csproj.user Log Message: Several bug fixes for AbstractDAO Added unit tests for NUnit support --- NEW FILE: Adapdev.Web.csproj.user --- <VisualStudioProject> <CSHARP LastOpenVersion = "7.10.3077" > <Build> <Settings ReferencePath = "D:\projects\Adapdev\Adapdev\lib\" > <Config Name = "Debug" EnableASPDebugging = "false" EnableASPXDebugging = "false" EnableUnmanagedDebugging = "false" EnableSQLServerDebugging = "false" RemoteDebugEnabled = "false" RemoteDebugMachine = "" StartAction = "Project" StartArguments = "" StartPage = "" StartProgram = "" StartURL = "" StartWorkingDirectory = "" StartWithIE = "false" /> <Config Name = "Release" EnableASPDebugging = "false" EnableASPXDebugging = "false" EnableUnmanagedDebugging = "false" EnableSQLServerDebugging = "false" RemoteDebugEnabled = "false" RemoteDebugMachine = "" StartAction = "Project" StartArguments = "" StartPage = "" StartProgram = "" StartURL = "" StartWorkingDirectory = "" StartWithIE = "false" /> </Settings> </Build> <OtherProjectSettings CopyProjectDestinationFolder = "" CopyProjectUncPath = "" CopyProjectOption = "0" ProjectView = "ProjectFiles" ProjectTrust = "0" /> </CSHARP> </VisualStudioProject> |
From: Sean M. <int...@us...> - 2005-10-21 04:59:35
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.UnitTest.Tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27500/src/Adapdev.UnitTest.Tests Modified Files: Adapdev.UnitTest.Tests.csproj Added Files: Adapdev.UnitTest.Tests.csproj.user Log Message: Several bug fixes for AbstractDAO Added unit tests for NUnit support --- NEW FILE: Adapdev.UnitTest.Tests.csproj.user --- <VisualStudioProject> <CSHARP LastOpenVersion = "7.10.3077" > <Build> <Settings ReferencePath = "" > <Config Name = "Debug" EnableASPDebugging = "false" EnableASPXDebugging = "false" EnableUnmanagedDebugging = "false" EnableSQLServerDebugging = "false" RemoteDebugEnabled = "false" RemoteDebugMachine = "" StartAction = "Project" StartArguments = "" StartPage = "" StartProgram = "" StartURL = "" StartWorkingDirectory = "" StartWithIE = "false" /> <Config Name = "Release" EnableASPDebugging = "false" EnableASPXDebugging = "false" EnableUnmanagedDebugging = "false" EnableSQLServerDebugging = "false" RemoteDebugEnabled = "false" RemoteDebugMachine = "" StartAction = "Project" StartArguments = "" StartPage = "" StartProgram = "" StartURL = "" StartWorkingDirectory = "" StartWithIE = "false" /> </Settings> </Build> <OtherProjectSettings CopyProjectDestinationFolder = "" CopyProjectUncPath = "" CopyProjectOption = "0" ProjectView = "ProjectFiles" ProjectTrust = "0" /> </CSHARP> </VisualStudioProject> Index: Adapdev.UnitTest.Tests.csproj =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.UnitTest.Tests/Adapdev.UnitTest.Tests.csproj,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Adapdev.UnitTest.Tests.csproj 5 Jun 2005 08:50:34 -0000 1.1 --- Adapdev.UnitTest.Tests.csproj 21 Oct 2005 04:59:20 -0000 1.2 *************** *** 77,83 **** <Reference Name = "System.XML" ! AssemblyName = "System.XML" HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll" /> </References> </Build> --- 77,88 ---- <Reference Name = "System.XML" ! AssemblyName = "System.Xml" HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll" /> + <Reference + Name = "Adapdev.UnitTest" + Project = "{D450E7B3-CF48-421E-8B5E-9526E77E24C6}" + Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}" + /> </References> </Build> |
From: Sean M. <int...@us...> - 2005-10-21 04:59:35
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Data In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27500/src/Adapdev.Data Added Files: Adapdev.Data.csproj.user Log Message: Several bug fixes for AbstractDAO Added unit tests for NUnit support --- NEW FILE: Adapdev.Data.csproj.user --- <VisualStudioProject> <CSHARP LastOpenVersion = "7.10.3077" > <Build> <Settings ReferencePath = "D:\projects\Adapdev\Adapdev\lib\" > <Config Name = "Debug" EnableASPDebugging = "false" EnableASPXDebugging = "false" EnableUnmanagedDebugging = "false" EnableSQLServerDebugging = "false" RemoteDebugEnabled = "false" RemoteDebugMachine = "" StartAction = "Project" StartArguments = "" StartPage = "" StartProgram = "" StartURL = "" StartWorkingDirectory = "" StartWithIE = "false" /> <Config Name = "Release" EnableASPDebugging = "false" EnableASPXDebugging = "false" EnableUnmanagedDebugging = "false" EnableSQLServerDebugging = "false" RemoteDebugEnabled = "false" RemoteDebugMachine = "" StartAction = "Project" StartArguments = "" StartPage = "" StartProgram = "" StartURL = "" StartWorkingDirectory = "" StartWithIE = "false" /> </Settings> </Build> <OtherProjectSettings CopyProjectDestinationFolder = "" CopyProjectUncPath = "" CopyProjectOption = "0" ProjectView = "ProjectFiles" ProjectTrust = "0" /> </CSHARP> </VisualStudioProject> |
From: Sean M. <int...@us...> - 2005-10-21 04:59:35
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Data/obj/Debug In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27500/src/Adapdev.Data/obj/Debug Added Files: Adapdev.Data.dll Adapdev.Data.pdb Log Message: Several bug fixes for AbstractDAO Added unit tests for NUnit support --- NEW FILE: Adapdev.Data.pdb --- (This appears to be a binary file; contents omitted.) --- NEW FILE: Adapdev.Data.dll --- (This appears to be a binary file; contents omitted.) |
From: Sean M. <int...@us...> - 2005-10-21 04:54:19
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Data.Tests/CategoriesExample In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26985/CategoriesExample Log Message: Directory /cvsroot/adapdev/Adapdev/src/Adapdev.Data.Tests/CategoriesExample added to the repository |
From: Sean M. <int...@us...> - 2005-10-21 04:54:09
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Data/obj/Debug In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26950/Debug Log Message: Directory /cvsroot/adapdev/Adapdev/src/Adapdev.Data/obj/Debug added to the repository |
From: Sean M. <int...@us...> - 2005-10-21 04:54:02
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Data/bin/Debug In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26911/Debug Log Message: Directory /cvsroot/adapdev/Adapdev/src/Adapdev.Data/bin/Debug added to the repository |
From: Sean M. <int...@us...> - 2005-10-21 04:53:53
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Data/obj In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26886/obj Log Message: Directory /cvsroot/adapdev/Adapdev/src/Adapdev.Data/obj added to the repository |
From: Sean M. <int...@us...> - 2005-10-21 04:53:53
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Data/bin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26886/bin Log Message: Directory /cvsroot/adapdev/Adapdev/src/Adapdev.Data/bin added to the repository |
From: Sean M. <int...@us...> - 2005-10-21 04:53:07
|
Update of /cvsroot/adapdev/Adapdev/lib/nunit222 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26781/nunit222 Log Message: Directory /cvsroot/adapdev/Adapdev/lib/nunit222 added to the repository |
From: Sean M. <int...@us...> - 2005-09-18 03:04:54
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Data In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2143/src/Adapdev.Data Modified Files: Adapdev.Data.csproj ProviderInfoManager.cs Log Message: - Broke up SchemaBuilder into multiple implementations - Upgraded mySql driver to 1.0.5 Index: ProviderInfoManager.cs =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Data/ProviderInfoManager.cs,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** ProviderInfoManager.cs 28 Feb 2005 01:31:47 -0000 1.1.1.1 --- ProviderInfoManager.cs 18 Sep 2005 03:04:45 -0000 1.2 *************** *** 123,127 **** /// Gets the object by name /// </summary> ! /// <param name="ct">Provider type</param> /// <param name="typeName">Name of the type.</param> /// <returns></returns> --- 123,127 ---- /// Gets the object by name /// </summary> ! /// <param name="providerType">Provider type</param> /// <param name="typeName">Name of the type.</param> /// <returns></returns> *************** *** 293,297 **** { string _name = name.Trim().ToLower(); - string _id = id.ToString(); if (ht.Contains(_name)) { --- 293,296 ---- Index: Adapdev.Data.csproj =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Data/Adapdev.Data.csproj,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Adapdev.Data.csproj 25 Jul 2005 02:22:15 -0000 1.10 --- Adapdev.Data.csproj 18 Sep 2005 03:04:45 -0000 1.11 *************** *** 231,234 **** --- 231,239 ---- /> <File + RelPath = "Schema\AbstractSchemaBuilder.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "Schema\ColumnSchema.cs" SubType = "Code" *************** *** 261,264 **** --- 266,284 ---- /> <File + RelPath = "Schema\ISchemaBuilder.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Schema\MySqlSchemaBuilder.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Schema\OleDbSchemaBuilder.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "Schema\ParameterSchema.cs" SubType = "Code" |
From: Sean M. <int...@us...> - 2005-09-18 03:04:54
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Data.Tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2143/src/Adapdev.Data.Tests Modified Files: SchemaBuilderTest.cs Log Message: - Broke up SchemaBuilder into multiple implementations - Upgraded mySql driver to 1.0.5 Index: SchemaBuilderTest.cs =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Data.Tests/SchemaBuilderTest.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** SchemaBuilderTest.cs 13 Apr 2005 04:23:36 -0000 1.3 --- SchemaBuilderTest.cs 18 Sep 2005 03:04:45 -0000 1.4 *************** *** 15,30 **** { ! private string _connectionString = "Provider=sqloledb;Data Source=localhost;Initial Catalog=northwind;User Id=sa;Password=;"; ! [Test,Ignore("")] ! public void PrintForeignKeys() { ! Console.WriteLine(SchemaBuilder.PrintOleDbSchema(this._connectionString, System.Data.OleDb.OleDbSchemaGuid.Foreign_Keys).ToString()); } [Test] ! public void BuildSchema() { ! DatabaseSchema ds = SchemaBuilder.CreateDatabaseSchema(this._connectionString); Assert.AreEqual(29, ds.Tables.Count, "Northwind should have 29 tables / views."); Assert.IsTrue(ds.Tables.Contains("Orders")); --- 15,34 ---- { ! private string _oledbConnectionString = "Provider=sqloledb;Data Source=localhost;Initial Catalog=northwind;User Id=sa;Password=;"; ! private string _sqlserverConnectionString = "Data Source=localhost; Initial Catalog=northwind; User ID=sa; Password=; Trusted_Connection=false;"; ! private string _mysqlConnectionString = "Data Source=localhost;Database=codus_test;User ID=;Password=;"; ! [Test] ! public void BuildOleDbSchema() { ! DatabaseSchema ds = SchemaBuilder.CreateDatabaseSchema(this._oledbConnectionString, Adapdev.Data.DbType.SQLSERVER, Adapdev.Data.DbProviderType.OLEDB); ! Assert.AreEqual(29, ds.Tables.Count, "Northwind should have 29 tables / views."); ! Assert.IsTrue(ds.Tables.Contains("Orders")); } [Test] ! public void BuildSqlServerSchema() { ! DatabaseSchema ds = SchemaBuilder.CreateDatabaseSchema(this._oledbConnectionString, Adapdev.Data.DbType.SQLSERVER, Adapdev.Data.DbProviderType.OLEDB); Assert.AreEqual(29, ds.Tables.Count, "Northwind should have 29 tables / views."); Assert.IsTrue(ds.Tables.Contains("Orders")); *************** *** 32,35 **** --- 36,55 ---- [Test] + public void BuildMySqlSchema() + { + DatabaseSchema ds = SchemaBuilder.CreateDatabaseSchema(this._mysqlConnectionString, Adapdev.Data.DbType.MYSQL, Adapdev.Data.DbProviderType.MYSQL); + Assert.AreEqual(4, ds.Tables.Count, "codus_test should have 4 tables"); + Assert.IsTrue(ds.Tables.Contains("alldatatypes")); + } + + [Test,Ignore("")] + public void PrintMySqlSchema() + { + int i = 0; + Console.WriteLine(new MySqlSchemaBuilder(null, ref i).PrintReaderSchema(this._mysqlConnectionString, "alldatatypes")); + } + + + [Test] public void ProviderConfig() { ProviderConfig pc = new ProviderConfig(); |
From: Sean M. <int...@us...> - 2005-09-18 03:04:54
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.UnitTest.Core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2143/src/Adapdev.UnitTest.Core Modified Files: TestSuiteBuilder.cs Log Message: - Broke up SchemaBuilder into multiple implementations - Upgraded mySql driver to 1.0.5 Index: TestSuiteBuilder.cs =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.UnitTest.Core/TestSuiteBuilder.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** TestSuiteBuilder.cs 5 Jun 2005 08:50:32 -0000 1.5 --- TestSuiteBuilder.cs 18 Sep 2005 03:04:45 -0000 1.6 *************** *** 1,2 **** --- 1,4 ---- + using System.Diagnostics; + #region Copyright / License Information *************** *** 85,95 **** string orig = Environment.CurrentDirectory; Environment.CurrentDirectory = fi.DirectoryName; ! if(log.IsInfoEnabled) ! { ! log.Info("Building assembly: " + assemblyName); ! log.Info("Environment Directory: " + orig); ! log.Info("Assembly Directory: " + fi.DirectoryName); ! } ! // add the assembly to the AssemblyCache --- 87,93 ---- string orig = Environment.CurrentDirectory; Environment.CurrentDirectory = fi.DirectoryName; ! Trace.Write("Building assembly: " + assemblyName); ! Trace.Write("Environment Directory: " + orig); ! Trace.Write("Assembly Directory: " + fi.DirectoryName); // add the assembly to the AssemblyCache *************** *** 374,380 **** string lostAssemblyFilename = Path.Combine(Environment.CurrentDirectory, lostNamespace + ".dll"); ! if(log.IsInfoEnabled)log.Info("Not found. Trying to resolve " + lostAssemblyFilename); Assembly a = Assembly.LoadFile(lostAssemblyFilename); ! if(a != null && log.IsInfoEnabled) log.Info("Found. Loaded " + a.GetName().Name + " - " + a.GetName().Version + " - " + a.Location); return a; --- 372,378 ---- string lostAssemblyFilename = Path.Combine(Environment.CurrentDirectory, lostNamespace + ".dll"); ! Trace.Write("Not found. Trying to resolve " + lostAssemblyFilename); Assembly a = Assembly.LoadFile(lostAssemblyFilename); ! if(a != null) Trace.Write("Found. Loaded " + a.GetName().Name + " - " + a.GetName().Version + " - " + a.Location); return a; *************** *** 384,388 **** { AssemblyName assemblyName = assembly.GetName(); ! if(log.IsInfoEnabled) log.Info("Probing for: " + assemblyName); if (! dependencyList.Contains(assemblyName.FullName)) { --- 382,386 ---- { AssemblyName assemblyName = assembly.GetName(); ! Trace.Write("Probing for: " + assemblyName); if (! dependencyList.Contains(assemblyName.FullName)) { *************** *** 398,402 **** public void CurrentDomain_AssemblyLoad(object sender, AssemblyLoadEventArgs args) { ! if(log.IsInfoEnabled) log.Info("Loading: " + args.LoadedAssembly.FullName); } } --- 396,400 ---- public void CurrentDomain_AssemblyLoad(object sender, AssemblyLoadEventArgs args) { ! Trace.Write("Loading: " + args.LoadedAssembly.FullName); } } |
From: Sean M. <int...@us...> - 2005-09-18 03:04:54
|
Update of /cvsroot/adapdev/Adapdev/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2143/lib Modified Files: MySql.Data.dll nunit.framework.dll Log Message: - Broke up SchemaBuilder into multiple implementations - Upgraded mySql driver to 1.0.5 Index: MySql.Data.dll =================================================================== RCS file: /cvsroot/adapdev/Adapdev/lib/MySql.Data.dll,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvs5HFqzN and /tmp/cvs87FdmD differ Index: nunit.framework.dll =================================================================== RCS file: /cvsroot/adapdev/Adapdev/lib/nunit.framework.dll,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 Binary files /tmp/cvsBjLIi3 and /tmp/cvsSQhtCT differ |
From: Sean M. <int...@us...> - 2005-09-18 03:04:54
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Data/Xml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2143/src/Adapdev.Data/Xml Modified Files: ProviderInfo.xml Log Message: - Broke up SchemaBuilder into multiple implementations - Upgraded mySql driver to 1.0.5 Index: ProviderInfo.xml =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Data/Xml/ProviderInfo.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ProviderInfo.xml 25 Jul 2005 02:22:16 -0000 1.6 --- ProviderInfo.xml 18 Sep 2005 03:04:45 -0000 1.7 *************** *** 1255,1267 **** <ProviderInfo Name="mysql"> <Type> ! <Id>1</Id> ! <Name>tinyint</Name> ! <Object>Int16</Object> ! <Prefix></Prefix> ! <Postfix></Postfix> ! <Default>0</Default> ! <TestDefault>1</TestDefault> ! </Type> ! <!--<Type> <Id>1</Id> <Name>bit</Name> --- 1255,1267 ---- <ProviderInfo Name="mysql"> <Type> ! <Id>1</Id> ! <Name>tinyint</Name> ! <Object>Int16</Object> ! <Prefix></Prefix> ! <Postfix></Postfix> ! <Default>0</Default> ! <TestDefault>1</TestDefault> ! </Type> ! <!--<Type> <Id>1</Id> <Name>bit</Name> *************** *** 1281,1314 **** <TestDefault>0</TestDefault> </Type>--> ! <Type> ! <Id>2</Id> ! <Name>smallint</Name> ! <Object>Int32</Object> ! <Prefix></Prefix> ! <Postfix></Postfix> ! <Default>0</Default> ! <TestDefault>1</TestDefault> ! </Type> ! <Type> ! <Id>9</Id> ! <Name>mediumint</Name> ! <Object>Int32</Object> ! <Prefix></Prefix> ! <Postfix></Postfix> ! <Default>0</Default> ! <TestDefault>0</TestDefault> ! </Type> ! <Type> ! <Id>3</Id> ! <Name>int</Name> ! <Object>Int32</Object> ! <Prefix> ! </Prefix> ! <Postfix> ! </Postfix> ! <Default>0</Default> ! <TestDefault>2</TestDefault> ! </Type> ! <!--<Type> <Id>3</Id> <Name>integer</Name> --- 1281,1312 ---- <TestDefault>0</TestDefault> </Type>--> ! <Type> ! <Id>2</Id> ! <Name>smallint</Name> ! <Object>Int32</Object> ! <Prefix></Prefix> ! <Postfix></Postfix> ! <Default>0</Default> ! <TestDefault>1</TestDefault> ! </Type> ! <Type> ! <Id>9</Id> ! <Name>mediumint</Name> ! <Object>Int32</Object> ! <Prefix></Prefix> ! <Postfix></Postfix> ! <Default>0</Default> ! <TestDefault>0</TestDefault> ! </Type> ! <Type> ! <Id>3</Id> ! <Name>int</Name> ! <Object>Int32</Object> ! <Prefix></Prefix> ! <Postfix></Postfix> ! <Default>0</Default> ! <TestDefault>2</TestDefault> ! </Type> ! <!--<Type> <Id>3</Id> <Name>integer</Name> *************** *** 1321,1336 **** <TestDefault>2</TestDefault> </Type>--> ! <Type> ! <Id>8</Id> ! <Name>bigint</Name> ! <Object>Int64</Object> ! <Prefix> ! </Prefix> ! <Postfix> ! </Postfix> ! <Default>0</Default> ! <TestDefault>2</TestDefault> ! </Type> ! <!--<Type> <Id>5</Id> <Name>real</Name> --- 1319,1332 ---- <TestDefault>2</TestDefault> </Type>--> ! <Type> ! <Id>8</Id> ! <Name>bigint</Name> ! <Object>Int64</Object> ! <Prefix></Prefix> ! <Postfix></Postfix> ! <Default>0</Default> ! <TestDefault>2</TestDefault> ! </Type> ! <!--<Type> <Id>5</Id> <Name>real</Name> *************** *** 1343,1380 **** <TestDefault>2</TestDefault> </Type>--> ! <Type> ! <Id>5</Id> ! <Name>double</Name> ! <Object>Double</Object> ! <Prefix> ! </Prefix> ! <Postfix> ! </Postfix> ! <Default>0</Default> ! <TestDefault>2</TestDefault> ! </Type> ! <Type> ! <Id>4</Id> ! <Name>float</Name> ! <Object>Double</Object> ! <Prefix> ! </Prefix> ! <Postfix> ! </Postfix> ! <Default>0</Default> ! <TestDefault>2</TestDefault> ! </Type> ! <Type> ! <Id>0</Id> ! <Name>decimal</Name> ! <Object>Decimal</Object> ! <Prefix> ! </Prefix> ! <Postfix> ! </Postfix> ! <Default>0</Default> ! <TestDefault>2</TestDefault> ! </Type> ! <!--<Type> <Id>0</Id> <Name>numeric</Name> --- 1339,1370 ---- <TestDefault>2</TestDefault> </Type>--> ! <Type> ! <Id>5</Id> ! <Name>double</Name> ! <Object>Double</Object> ! <Prefix></Prefix> ! <Postfix></Postfix> ! <Default>0</Default> ! <TestDefault>2</TestDefault> ! </Type> ! <Type> ! <Id>4</Id> ! <Name>float</Name> ! <Object>Double</Object> ! <Prefix></Prefix> ! <Postfix></Postfix> ! <Default>0</Default> ! <TestDefault>2</TestDefault> ! </Type> ! <Type> ! <Id>0</Id> ! <Name>decimal</Name> ! <Object>Decimal</Object> ! <Prefix></Prefix> ! <Postfix></Postfix> ! <Default>0</Default> ! <TestDefault>2</TestDefault> ! </Type> ! <!--<Type> <Id>0</Id> <Name>numeric</Name> *************** *** 1387,1391 **** <TestDefault>2</TestDefault> </Type>--> ! <!--<Type> <Id>253</Id> <Name>char</Name> --- 1377,1381 ---- <TestDefault>2</TestDefault> </Type>--> ! <!--<Type> <Id>253</Id> <Name>char</Name> *************** *** 1396,1463 **** <TestDefault>"test"</TestDefault> </Type>--> ! <Type> ! <Id>253</Id> ! <Name>varchar</Name> ! <Object>string</Object> ! <Prefix>'</Prefix> ! <Postfix>'</Postfix> ! <Default>""</Default> ! <TestDefault>"test"</TestDefault> ! </Type> ! <Type> ! <Id>10</Id> ! <Name>date</Name> ! <Object>DateTime</Object> ! <Prefix>'</Prefix> ! <Postfix>'</Postfix> ! <Default>DateTime.Now</Default> ! <TestDefault>DateTime.Now</TestDefault> ! </Type> ! <Type> ! <Id>11</Id> ! <Name>time</Name> ! <Object>DateTime</Object> ! <Prefix>'</Prefix> ! <Postfix>'</Postfix> ! <Default>TimeSpan.Zero</Default> ! <TestDefault>TimeSpan.Zero</TestDefault> ! </Type> ! <Type> ! <Id>13</Id> ! <Name>year</Name> ! <Object>Int32</Object> ! <Prefix>'</Prefix> ! <Postfix>'</Postfix> ! <Default>0</Default> ! <TestDefault>2000</TestDefault> ! </Type> ! <Type> ! <Id>7</Id> ! <Name>timestamp</Name> ! <Object>Int32</Object> ! <Prefix>'</Prefix> ! <Postfix>'</Postfix> ! <Default>DateTime.Now</Default> ! <TestDefault>DateTime.Now</TestDefault> ! </Type> ! <Type> ! <Id>12</Id> ! <Name>datetime</Name> ! <Object>DateTime</Object> ! <Prefix>'</Prefix> ! <Postfix>'</Postfix> ! <Default>DateTime.Now</Default> ! <TestDefault>DateTime.Now</TestDefault> ! </Type> ! <Type> ! <Id>252</Id> ! <Name>tinyblob</Name> ! <Object>Byte[]</Object> ! <Prefix>'</Prefix> ! <Postfix>'</Postfix> ! <Default>null</Default> ! <TestDefault>System.Text.Encoding.ASCII.GetBytes("Test String2")</TestDefault> ! </Type> ! <!--<Type> <Id>252</Id> <Name>blob</Name> --- 1386,1453 ---- <TestDefault>"test"</TestDefault> </Type>--> ! <Type> ! <Id>253</Id> ! <Name>varchar</Name> ! <Object>string</Object> ! <Prefix>'</Prefix> ! <Postfix>'</Postfix> ! <Default>""</Default> ! <TestDefault>"test"</TestDefault> ! </Type> ! <Type> ! <Id>10</Id> ! <Name>date</Name> ! <Object>DateTime</Object> ! <Prefix>'</Prefix> ! <Postfix>'</Postfix> ! <Default>DateTime.Now</Default> ! <TestDefault>DateTime.Today</TestDefault> ! </Type> ! <Type> ! <Id>11</Id> ! <Name>time</Name> ! <Object>DateTime</Object> ! <Prefix>'</Prefix> ! <Postfix>'</Postfix> ! <Default>TimeSpan.Zero</Default> ! <TestDefault>TimeSpan.Zero</TestDefault> ! </Type> ! <Type> ! <Id>13</Id> ! <Name>year</Name> ! <Object>Int32</Object> ! <Prefix>'</Prefix> ! <Postfix>'</Postfix> ! <Default>0</Default> ! <TestDefault>2000</TestDefault> ! </Type> ! <Type> ! <Id>7</Id> ! <Name>timestamp</Name> ! <Object>Int32</Object> ! <Prefix>'</Prefix> ! <Postfix>'</Postfix> ! <Default>DateTime.Now</Default> ! <TestDefault>DateTime.Today</TestDefault> ! </Type> ! <Type> ! <Id>12</Id> ! <Name>datetime</Name> ! <Object>DateTime</Object> ! <Prefix>'</Prefix> ! <Postfix>'</Postfix> ! <Default>DateTime.Now</Default> ! <TestDefault>DateTime.Today</TestDefault> ! </Type> ! <Type> ! <Id>252</Id> ! <Name>tinyblob</Name> ! <Object>Byte[]</Object> ! <Prefix>'</Prefix> ! <Postfix>'</Postfix> ! <Default>null</Default> ! <TestDefault>System.Text.Encoding.ASCII.GetBytes("Test String2")</TestDefault> ! </Type> ! <!--<Type> <Id>252</Id> <Name>blob</Name> *************** *** 1523,1526 **** <TestDefault></TestDefault> </Type>--> ! </ProviderInfo> </ProvidersInfo> \ No newline at end of file --- 1513,1525 ---- <TestDefault></TestDefault> </Type>--> ! <Type> ! <Id>254</Id> ! <Name>uint</Name> ! <Object>Int32</Object> ! <Prefix></Prefix> ! <Postfix></Postfix> ! <Default>0</Default> ! <TestDefault>1</TestDefault> ! </Type> ! </ProviderInfo> </ProvidersInfo> \ No newline at end of file |
From: reic0113 <rei...@us...> - 2005-08-10 02:29:10
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Data/Xml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8040/src/Adapdev.Data/Xml Modified Files: ProviderConfig.xml Log Message: - added MySql connection to ProviderConfig Index: ProviderConfig.xml =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Data/Xml/ProviderConfig.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ProviderConfig.xml 13 Apr 2005 04:23:42 -0000 1.4 --- ProviderConfig.xml 9 Aug 2005 02:10:43 -0000 1.5 *************** *** 94,97 **** --- 94,109 ---- </providers> </connection> + + <connection name="MySql" type="MYSQL" internalProvider="MySql Native"> + <settings file="false" server="true" name="true" userid="true" password="true"/> + <providers> + <provider name="MySql Native" type="MYSQL" enabled="true"> + Data Source={0};Database={1};User ID={2};Password={3}; + </provider> + <provider name="ODBC" type="ODBC" enabled="false"> + DRIVER={{MySQL ODBC 3.51 Driver}};SERVER={0};DATABASE={1};USER={2};PASSWORD={3}; + </provider> + </providers> + </connection> </connections> |
From: reic0113 <rei...@us...> - 2005-08-04 01:12:40
|
Update of /cvsroot/adapdev/Adapdev/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13472/src Removed Files: AdapdevFramework.suo Log Message: --- AdapdevFramework.suo DELETED --- |
From: Sean M. <int...@us...> - 2005-08-01 21:08:05
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev/Transactions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31121/src/Adapdev/Transactions Added Files: TransactionScope.cs Log Message: Added support for distributed transactions --- NEW FILE: TransactionScope.cs --- using System; using System.EnterpriseServices; namespace Adapdev.Transactions { /// <summary> /// Summary description for TransactionScope. /// </summary> public class TransactionScope : IDisposable { // Dispose must be called to exit the transactional block public void Dispose() { if(this.EnterSucceeded) { if(!this.Consistent && !this.HasAborted) { ContextUtil.SetAbort(); } ServiceDomain.Leave(); } } // by calling this method, you mark the scope as being consistent // and ready to for commit // if the method is never called, upon dispose, the scope will abort the transaction public void Complete() { this.Consistent = true; } public void Abort() { ContextUtil.SetAbort(); this.HasAborted = true; } public Guid TransactionId { get{return ContextUtil.TransactionId;} } public Guid ApplicationId { get{return ContextUtil.ApplicationId;} } public TransactionScope() { EnterTxContext(TransactionOption.Required); } public TransactionScope(TransactionOption txOption) { EnterTxContext(txOption); } private void EnterTxContext(TransactionOption txOption) { ServiceConfig config = new ServiceConfig(); config.Transaction = txOption; ServiceDomain.Enter(config); // Since Enter can throw, the next statement will track the success // In the case of success will we need to call Leave in Dispose this.EnterSucceeded = true; } // By default, the scope is inconsistent; // To Commit the transaction on exit, the Consistent flag // must be set to true before Dispose is called private bool Consistent = false; // Enter can throw, so we need to know if we need to call Leave in Dispose private bool EnterSucceeded = false; // Track whether it's been aborted private bool HasAborted = false; } } |