OpenSim/Data/SQLite/SQLiteInventoryStore.cs
/// <summary>
/// Fill a database row with item data
/// </summary>
/// <param name="row"></param>
/// <param name="item"></param>
Fill a database row with item data
Fill a database row with item data
private static void fillItemRow(DataRow row, InventoryItemBase item)
        {
            row["UUID"] = item.ID.ToString();
            row["assetID"] = item.AssetID.ToString();
            row["assetType"] = item.AssetType;
            row["invType"] = item.InvType;
            row["parentFolderID"] = item.Folder.ToString();
            row["avatarID"] = item.Owner.ToString();
            row["creatorsID"] = item.CreatorIdentification.ToString();
            row["inventoryName"] = item.Name;
            row["inventoryDescription"] = item.Description;
            row["inventoryNextPermissions"] = item.NextPermissions;
            row["inventoryCurrentPermissions"] = item.CurrentPermissions;
            row["inventoryBasePermissions"] = item.BasePermissions;
            row["inventoryEveryOnePermissions"] = item.EveryOnePermissions;
            row["inventoryGroupPermissions"] = item.GroupPermissions;
            row["salePrice"] = item.SalePrice;
            row["saleType"] = item.SaleType;
            row["creationDate"] = item.CreationDate;
            row["groupID"] = item.GroupID.ToString();
            row["groupOwned"] = item.GroupOwned;
            row["flags"] = item.Flags;
        }
private static void fillItemRow ( DataRow row , InventoryItemBase item ) { row [ " " ] = item . ID . ToString ( ) ; row [ " " ] = item . AssetID . ToString ( ) ; row [ " " ] = item . AssetType ; row [ " " ] = item . InvType ; row [ " " ] = item . Folder . ToString ( ) ; row [ " " ] = item . Owner . ToString ( ) ; row [ " " ] = item . CreatorIdentification . ToString ( ) ; row [ " " ] = item . Name ; row [ " " ] = item . Description ; row [ " " ] = item . NextPermissions ; row [ " " ] = item . CurrentPermissions ; row [ " " ] = item . BasePermissions ; row [ " " ] = item . EveryOnePermissions ; row [ " " ] = item . GroupPermissions ; row [ " " ] = item . SalePrice ; row [ " " ] = item . SaleType ; row [ " " ] = item . CreationDate ; row [ " " ] = item . GroupID . ToString ( ) ; row [ " " ] = item . GroupOwned ; row [ " " ] = item . Flags ; }
Fill a database row with item data
Fill a database row with item data
// new fields
row
DataRow
None
item
InventoryItemBase
None